From a4d82a227364112c89270c602c4d00d613388bbf Mon Sep 17 00:00:00 2001 From: aszlig Date: Wed, 12 Sep 2012 05:37:28 +0200 Subject: [PATCH] haskell-tagstream-conduit: New package, v0.5.2. So, look at how small we chopped our little tree, we finally got all dependencies for html-conduit: .- yesod-test -. | | wai-test html-conduit ___ <' `> <' ,.., `> |----------.. < `-'`-' > | conduit `. `< ^^ > |--------. | \vvvvv/' | | TAGSTREAM `^^^^^' Signed-off-by: aszlig --- .../haskell/tagstream-conduit/default.nix | 18 ++++++++++++++++++ pkgs/top-level/haskell-packages.nix | 2 ++ 2 files changed, 20 insertions(+) create mode 100644 pkgs/development/libraries/haskell/tagstream-conduit/default.nix diff --git a/pkgs/development/libraries/haskell/tagstream-conduit/default.nix b/pkgs/development/libraries/haskell/tagstream-conduit/default.nix new file mode 100644 index 000000000000..2f22f8e905d0 --- /dev/null +++ b/pkgs/development/libraries/haskell/tagstream-conduit/default.nix @@ -0,0 +1,18 @@ +{ cabal, attoparsec, blazeBuilder, blazeBuilderConduit, conduit +, text +}: + +cabal.mkDerivation (self: { + pname = "tagstream-conduit"; + version = "0.5.2"; + sha256 = "12hg9khc670499c3ymc0s4xd2sg71grlk21ykqmby972dva77vxr"; + buildDepends = [ + attoparsec blazeBuilder blazeBuilderConduit conduit text + ]; + meta = { + homepage = "http://github.com/yihuang/tagstream-conduit"; + description = "streamlined html tag parser"; + 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 d8de1b658641..15e70693861f 100644 --- a/pkgs/top-level/haskell-packages.nix +++ b/pkgs/top-level/haskell-packages.nix @@ -1467,6 +1467,8 @@ let result = let callPackage = x : y : modifyPrio (newScope result.final x y); tagsoup = callPackage ../development/libraries/haskell/tagsoup {}; + tagstreamConduit = callPackage ../development/libraries/haskell/tagstream-conduit {}; + temporary = callPackage ../development/libraries/haskell/temporary {}; Tensor = callPackage ../development/libraries/haskell/Tensor {};