diff options
author | Shea Levy <shea@shealevy.com> | 2014-01-16 10:08:40 -0500 |
---|---|---|
committer | Shea Levy <shea@shealevy.com> | 2014-01-16 10:08:40 -0500 |
commit | 7f2559272b6c1c2ac0579a27d1d7c70a78ee8c37 (patch) | |
tree | cf8899088ba0402abe7f7e19b08ee50287de90c4 /pkgs | |
parent | e7cec329222c6c92bf807f36e655ae32de90ceca (diff) | |
download | nixlib-7f2559272b6c1c2ac0579a27d1d7c70a78ee8c37.tar nixlib-7f2559272b6c1c2ac0579a27d1d7c70a78ee8c37.tar.gz nixlib-7f2559272b6c1c2ac0579a27d1d7c70a78ee8c37.tar.bz2 nixlib-7f2559272b6c1c2ac0579a27d1d7c70a78ee8c37.tar.lz nixlib-7f2559272b6c1c2ac0579a27d1d7c70a78ee8c37.tar.xz nixlib-7f2559272b6c1c2ac0579a27d1d7c70a78ee8c37.tar.zst nixlib-7f2559272b6c1c2ac0579a27d1d7c70a78ee8c37.zip |
Add http-common haskell package.
This fixes nixpkgs evaluation Signed-off-by: Shea Levy <shea@shealevy.com>
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/development/libraries/haskell/http-common/default.nix | 19 | ||||
-rw-r--r-- | pkgs/top-level/haskell-packages.nix | 2 |
2 files changed, 21 insertions, 0 deletions
diff --git a/pkgs/development/libraries/haskell/http-common/default.nix b/pkgs/development/libraries/haskell/http-common/default.nix new file mode 100644 index 000000000000..ddddd0697555 --- /dev/null +++ b/pkgs/development/libraries/haskell/http-common/default.nix @@ -0,0 +1,19 @@ +{ cabal, base64Bytestring, blazeBuilder, caseInsensitive, mtl +, network, text, transformers, unorderedContainers +}: + +cabal.mkDerivation (self: { + pname = "http-common"; + version = "0.7.0.1"; + sha256 = "1brflygyf8y60jilrl6p8jdr5k5zwcqpdhj6j51vj9n4gsnr6a8d"; + buildDepends = [ + base64Bytestring blazeBuilder caseInsensitive mtl network text + transformers unorderedContainers + ]; + meta = { + homepage = "http://research.operationaldynamics.com/projects/http-streams/"; + description = "Common types for HTTP clients and servers"; + license = self.stdenv.lib.licenses.bsd3; + platforms = self.ghc.meta.platforms; + }; +}) diff --git a/pkgs/top-level/haskell-packages.nix b/pkgs/top-level/haskell-packages.nix index ca16d8c3a65c..c3addca97d1e 100644 --- a/pkgs/top-level/haskell-packages.nix +++ b/pkgs/top-level/haskell-packages.nix @@ -1271,6 +1271,8 @@ let result = let callPackage = x : y : modifyPrio (newScope result.finalReturn x httpClientTls = callPackage ../development/libraries/haskell/http-client-tls {}; + httpCommon = callPackage ../development/libraries/haskell/http-common {}; + httpReverseProxy = callPackage ../development/libraries/haskell/http-reverse-proxy {}; hackageDb = callPackage ../development/libraries/haskell/hackage-db {}; |