From 86f00072caa1a7e8589ad089e086b7808b2ea012 Mon Sep 17 00:00:00 2001 From: aszlig Date: Wed, 12 Sep 2012 05:34:06 +0200 Subject: [PATCH] haskell-html-conduit: New package, v0.1.0.2. ~~_-~,----.~- ~~-,' `.~- ,' | / | `. ,',' |`. | `,','/'\ | | | .'~`| |. .| |~`|' : (`-') (`-') : : `'~ ~~`' : "OMG! They killed html-conduit!" : `' /^\ () : Let's see what we have left: : ()`'~`' ,, : : ,_--_--_. : yesod-test `. '/ HTML! \` : | `.'~\_---_/~` : wai-test `._ _.' | ~~~~~~~| :.:.::.::: : :"::"' Signed-off-by: aszlig --- .../haskell/html-conduit/default.nix | 19 +++++++++++++++++++ pkgs/top-level/haskell-packages.nix | 2 ++ 2 files changed, 21 insertions(+) create mode 100644 pkgs/development/libraries/haskell/html-conduit/default.nix diff --git a/pkgs/development/libraries/haskell/html-conduit/default.nix b/pkgs/development/libraries/haskell/html-conduit/default.nix new file mode 100644 index 000000000000..b3482292b041 --- /dev/null +++ b/pkgs/development/libraries/haskell/html-conduit/default.nix @@ -0,0 +1,19 @@ +{ cabal, conduit, filesystemConduit, resourcet, systemFilepath +, tagstreamConduit, text, transformers, xmlConduit, xmlTypes +}: + +cabal.mkDerivation (self: { + pname = "html-conduit"; + version = "0.1.0.2"; + sha256 = "0r9bnzz6r5q2fgichg8vfjgwyig33diqvj5pxchk97m3m5rqj5k4"; + buildDepends = [ + conduit filesystemConduit resourcet systemFilepath tagstreamConduit + text transformers xmlConduit xmlTypes + ]; + meta = { + homepage = "https://github.com/snoyberg/xml"; + description = "Parse HTML documents using xml-conduit datatypes"; + license = self.stdenv.lib.licenses.mit; + platforms = self.ghc.meta.platforms; + }; +}) diff --git a/pkgs/top-level/haskell-packages.nix b/pkgs/top-level/haskell-packages.nix index 15e70693861f..e41d6031695b 100644 --- a/pkgs/top-level/haskell-packages.nix +++ b/pkgs/top-level/haskell-packages.nix @@ -951,6 +951,8 @@ let result = let callPackage = x : y : modifyPrio (newScope result.final x y); html_1_0_1_2 = callPackage ../development/libraries/haskell/html/1.0.1.2.nix {}; html = self.html_1_0_1_2; + htmlConduit = callPackage ../development/libraries/haskell/html-conduit {}; + httpConduit = callPackage ../development/libraries/haskell/http-conduit {}; httpdShed = callPackage ../development/libraries/haskell/httpd-shed {};