@@ -3,7 +3,7 @@
33{ cabal, aeson, attoparsec, doctest, exceptions, filepath
44, httpClient, httpClientTls, httpTypes, HUnit, lens, lensAeson
55, mimeTypes, temporary, testFramework, testFrameworkHunit, text
6−, time
6+, time, fetchpatch
77}:
88
99cabal.mkDerivation (self: {
@@ -21,7 +21,10 @@ cabal.mkDerivation (self: {
2121 temporary testFramework testFrameworkHunit text
2222 ];
2323 doCheck = false;
24− patches = [ ./lens-4.5.patch ];
24+ patches = [ (fetchpatch {
25+ url = "https://github.com/relrod/wreq/commit/9a91d57b50a09646ecbda88d126918e49aeb2de4.diff";
26+ sha256 = "143a4f661pigfqqkvhjzfmg24r4j595p1fcsiqiqc763pynccgq9";
27+ })];
2528 meta = {
2629 homepage = "http://www.serpentine.com/wreq";
2730 description = "An easy-to-use HTTP client library";