From 8bb29fb94ac2d3c792705a7ef7d4c6976b0ddaf5 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Mon, 1 Jul 2013 11:39:03 +0200 Subject: [PATCH] haskell-http-attoparsec: add version 0.1.0 --- .../libraries/haskell/http-attoparsec/default.nix | 14 ++++++++++++++ pkgs/top-level/haskell-packages.nix | 2 ++ 2 files changed, 16 insertions(+) create mode 100644 pkgs/development/libraries/haskell/http-attoparsec/default.nix diff --git a/pkgs/development/libraries/haskell/http-attoparsec/default.nix b/pkgs/development/libraries/haskell/http-attoparsec/default.nix new file mode 100644 index 000000000000..9a7ad41de574 --- /dev/null +++ b/pkgs/development/libraries/haskell/http-attoparsec/default.nix @@ -0,0 +1,14 @@ +{ cabal, attoparsec, httpTypes }: + +cabal.mkDerivation (self: { + pname = "http-attoparsec"; + version = "0.1.0"; + sha256 = "1ncdjzgb5kv20y9kps4nawvbwaqnfil9g552if638vv8hag8cwq9"; + buildDepends = [ attoparsec httpTypes ]; + meta = { + homepage = "https://github.com/tlaitinen/http-attoparsec"; + description = "Attoparsec parsers for http-types"; + 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 cec83917a143..722b82e93535 100644 --- a/pkgs/top-level/haskell-packages.nix +++ b/pkgs/top-level/haskell-packages.nix @@ -1123,6 +1123,8 @@ let result = let callPackage = x : y : modifyPrio (newScope result.final x y); HTTP_4000_2_8 = callPackage ../development/libraries/haskell/HTTP/4000.2.8.nix {}; HTTP = self.HTTP_4000_2_8; + httpAttoparsec = callPackage ../development/libraries/haskell/http-attoparsec {}; + httpReverseProxy = callPackage ../development/libraries/haskell/http-reverse-proxy {}; hackageDb = callPackage ../development/libraries/haskell/hackage-db {};