nixpkgs/pkgs/development/libraries/haskell/github/default.nix

26 lines
803 B
Nix
Raw Normal View History

{ cabal, aeson, attoparsec, caseInsensitive, conduit, dataDefault
, failure, hashable, HTTP, httpConduit, httpTypes, network, text
, time, unorderedContainers, vector
2013-02-25 15:25:24 +01:00
}:
cabal.mkDerivation (self: {
pname = "github";
version = "0.7.4";
sha256 = "1yalhixisjv1n9ihik3h6ya25f0066dd422nbpfysj9093hv3a5w";
2013-02-25 15:25:24 +01:00
buildDepends = [
aeson attoparsec caseInsensitive conduit dataDefault failure
hashable HTTP httpConduit httpTypes network text time
unorderedContainers vector
2013-02-25 15:25:24 +01:00
];
jailbreak = true;
patchPhase = ''
sed -i -e '/^import Data.Conduit (ResourceT)/d' Github/Private.hs
'';
2013-02-25 15:25:24 +01:00
meta = {
homepage = "https://github.com/fpco/github";
2013-02-25 15:25:24 +01:00
description = "Access to the Github API, v3";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
};
})