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

36 lines
1.2 KiB
Nix
Raw Normal View History

# This file was auto-generated by cabal2nix. Please do NOT edit manually!
2014-04-25 11:18:29 +02:00
{ cabal, aeson, attoparsec, doctest, exceptions, filepath
2014-08-26 08:49:38 +02:00
, httpClient, httpClientTls, httpTypes, HUnit, lens, lensAeson
, mimeTypes, temporary, testFramework, testFrameworkHunit, text
, time, fetchpatch
2014-04-25 11:18:29 +02:00
}:
cabal.mkDerivation (self: {
pname = "wreq";
2014-08-26 08:49:38 +02:00
version = "0.2.0.0";
sha256 = "0ajrwn4yn6h65v97jfhbb4x3j307gdf34dyjnnhsrmsf7911l44d";
2014-04-25 11:18:29 +02:00
isLibrary = true;
isExecutable = true;
buildDepends = [
aeson attoparsec exceptions httpClient httpClientTls httpTypes lens
2014-08-26 08:49:38 +02:00
lensAeson mimeTypes text time
2014-04-25 11:18:29 +02:00
];
testDepends = [
2014-08-26 08:49:38 +02:00
aeson doctest filepath httpClient httpTypes HUnit lens lensAeson
temporary testFramework testFrameworkHunit text
2014-04-25 11:18:29 +02:00
];
doCheck = false;
patches = [ (fetchpatch {
url = "https://github.com/relrod/wreq/commit/9a91d57b50a09646ecbda88d126918e49aeb2de4.diff";
2014-11-10 09:47:49 +01:00
sha256 = "09px4hbqkc9b0ykx7alzq2llzp0nxb2c5zsbaa05rcq9cb3nrq4m";
})];
2014-04-25 11:18:29 +02:00
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 = with self.stdenv.lib.maintainers; [ ocharles ];
2014-04-25 11:18:29 +02:00
};
})