35 lines
1.2 KiB
Nix
35 lines
1.2 KiB
Nix
# This file was auto-generated by cabal2nix. Please do NOT edit manually!
|
|
|
|
{ cabal, aeson, attoparsec, doctest, exceptions, filepath
|
|
, httpClient, httpClientTls, httpTypes, HUnit, lens, lensAeson
|
|
, mimeTypes, temporary, testFramework, testFrameworkHunit, text
|
|
, time, fetchpatch
|
|
}:
|
|
|
|
cabal.mkDerivation (self: {
|
|
pname = "wreq";
|
|
version = "0.2.0.0";
|
|
sha256 = "0ajrwn4yn6h65v97jfhbb4x3j307gdf34dyjnnhsrmsf7911l44d";
|
|
isLibrary = true;
|
|
isExecutable = true;
|
|
buildDepends = [
|
|
aeson attoparsec exceptions httpClient httpClientTls httpTypes lens
|
|
lensAeson mimeTypes text time
|
|
];
|
|
testDepends = [
|
|
aeson doctest filepath httpClient httpTypes HUnit lens lensAeson
|
|
temporary testFramework testFrameworkHunit text
|
|
];
|
|
doCheck = false;
|
|
patches = [ (fetchpatch {
|
|
url = "https://github.com/relrod/wreq/commit/9a91d57b50a09646ecbda88d126918e49aeb2de4.diff";
|
|
sha256 = "09px4hbqkc9b0ykx7alzq2llzp0nxb2c5zsbaa05rcq9cb3nrq4m";
|
|
})];
|
|
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 ];
|
|
};
|
|
})
|