diff --git a/pkgs/development/libraries/haskell/hweblib/default.nix b/pkgs/development/libraries/haskell/hweblib/default.nix new file mode 100644 index 000000000000..dd07ef503a73 --- /dev/null +++ b/pkgs/development/libraries/haskell/hweblib/default.nix @@ -0,0 +1,15 @@ +{ cabal, attoparsec, HUnit, mtl, text, transformers }: + +cabal.mkDerivation (self: { + pname = "hweblib"; + version = "0.6.3"; + sha256 = "03dmx5irlsyb3b9zg2r6nz947sslizkn0nlk65ldb5n4m8my33hy"; + buildDepends = [ attoparsec mtl text transformers ]; + testDepends = [ attoparsec HUnit mtl transformers ]; + meta = { + homepage = "http://github.com/aycanirican/hweblib"; + description = "Haskell Web Library"; + 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 79187c6a5455..608108a18474 100644 --- a/pkgs/top-level/haskell-packages.nix +++ b/pkgs/top-level/haskell-packages.nix @@ -1208,6 +1208,8 @@ self : let callPackage = x : y : modifyPrio (newScope self x y); in HUnit_1_2_5_2 = callPackage ../development/libraries/haskell/HUnit/1.2.5.2.nix {}; HUnit = self.HUnit_1_2_5_2; + hweblib = callPackage ../development/libraries/haskell/hweblib/default.nix {}; + hxt = callPackage ../development/libraries/haskell/hxt {}; hxtCharproperties = callPackage ../development/libraries/haskell/hxt-charproperties {};