2013-04-12 22:04:56 +02:00
|
|
|
{ cabal, aeson, attoparsec, caseInsensitive, conduit, dataDefault
|
2013-12-02 11:32:28 +01:00
|
|
|
, failure, hashable, HTTP, httpConduit, httpTypes, network, text
|
|
|
|
, time, unorderedContainers, vector
|
2013-02-25 15:25:24 +01:00
|
|
|
}:
|
|
|
|
|
|
|
|
cabal.mkDerivation (self: {
|
|
|
|
pname = "github";
|
2014-01-25 16:52:42 +01:00
|
|
|
version = "0.7.4";
|
|
|
|
sha256 = "1yalhixisjv1n9ihik3h6ya25f0066dd422nbpfysj9093hv3a5w";
|
2013-02-25 15:25:24 +01:00
|
|
|
buildDepends = [
|
2013-12-02 11:32:28 +01:00
|
|
|
aeson attoparsec caseInsensitive conduit dataDefault failure
|
|
|
|
hashable HTTP httpConduit httpTypes network text time
|
|
|
|
unorderedContainers vector
|
2013-02-25 15:25:24 +01:00
|
|
|
];
|
2013-09-06 23:06:43 +02:00
|
|
|
jailbreak = true;
|
2014-04-07 13:25:57 +02:00
|
|
|
patchPhase = ''
|
|
|
|
sed -i -e '/^import Data.Conduit (ResourceT)/d' Github/Private.hs
|
|
|
|
'';
|
2013-02-25 15:25:24 +01:00
|
|
|
meta = {
|
2013-04-12 22:04:56 +02:00
|
|
|
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;
|
|
|
|
};
|
|
|
|
})
|