2014-07-14 13:21:41 +02:00
|
|
|
# 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
|
2014-11-10 09:32:41 +01:00
|
|
|
, 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
|
|
|
];
|
2014-08-26 12:24:52 +02:00
|
|
|
doCheck = false;
|
2014-11-10 09:32:41 +01:00
|
|
|
patches = [ (fetchpatch {
|
|
|
|
url = "https://github.com/relrod/wreq/commit/9a91d57b50a09646ecbda88d126918e49aeb2de4.diff";
|
2014-11-10 09:47:49 +01:00
|
|
|
sha256 = "09px4hbqkc9b0ykx7alzq2llzp0nxb2c5zsbaa05rcq9cb3nrq4m";
|
2014-11-10 09:32:41 +01:00
|
|
|
})];
|
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;
|
2014-08-09 13:48:22 +02:00
|
|
|
maintainers = with self.stdenv.lib.maintainers; [ ocharles ];
|
2014-04-25 11:18:29 +02:00
|
|
|
};
|
|
|
|
})
|