haskellPackages.wreq: New expression

This commit is contained in:
Oliver Charles 2014-04-25 10:18:29 +01:00
parent 2fde59d20f
commit 954bc3131e
2 changed files with 36 additions and 1 deletions

View File

@ -0,0 +1,27 @@
{ cabal, aeson, attoparsec, doctest, exceptions, filepath
, httpClient, httpClientTls, httpTypes, HUnit, lens, mimeTypes
, temporary, testFramework, testFrameworkHunit, text, time
}:
cabal.mkDerivation (self: {
pname = "wreq";
version = "0.1.0.1";
sha256 = "05w3b555arsab8a5w73nm9pk3p9r6jipi6cd3ngxv48gdn9wzhvz";
isLibrary = true;
isExecutable = true;
buildDepends = [
aeson attoparsec exceptions httpClient httpClientTls httpTypes lens
mimeTypes text time
];
testDepends = [
aeson doctest filepath httpClient httpTypes HUnit lens temporary
testFramework testFrameworkHunit text
];
meta = {
homepage = "http://www.serpentine.com/wreq";
description = "An easy-to-use HTTP client library";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
maintainers = [ self.stdenv.lib.maintainers.ocharles ];
};
})

View File

@ -2756,6 +2756,14 @@ let result = let callPackage = x : y : modifyPrio (newScope result.finalReturn x
word8 = callPackage ../development/libraries/haskell/word8 {};
wreq = callPackage ../development/libraries/haskell/wreq {
aeson = self.aeson.override { attoparsec = self.attoparsec_0_11_2_1; };
attoparsec = self.attoparsec_0_11_2_1;
lens = self.lens.override {
aeson = self.aeson.override { attoparsec = self.attoparsec_0_11_2_1; };
};
};
wx = callPackage ../development/libraries/haskell/wxHaskell/wx.nix {};
wxc = callPackage ../development/libraries/haskell/wxHaskell/wxc.nix {