From 1c00dfa14ae8f7aee3d8d9e4be3f9260558391a8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andres=20L=C3=B6h?= Date: Tue, 7 Jun 2011 14:23:01 +0000 Subject: [PATCH] Added smallcheck. svn path=/nixpkgs/trunk/; revision=27363 --- .../libraries/haskell/smallcheck/default.nix | 13 +++++++++++++ pkgs/top-level/haskell-packages.nix | 2 ++ 2 files changed, 15 insertions(+) create mode 100644 pkgs/development/libraries/haskell/smallcheck/default.nix diff --git a/pkgs/development/libraries/haskell/smallcheck/default.nix b/pkgs/development/libraries/haskell/smallcheck/default.nix new file mode 100644 index 000000000000..39ee91b09f37 --- /dev/null +++ b/pkgs/development/libraries/haskell/smallcheck/default.nix @@ -0,0 +1,13 @@ +{cabal}: + +cabal.mkDerivation (self : { + pname = "smallcheck"; + version = "0.4"; + sha256 = "0nq13jm3akrmgk6n2clisip16v0jf1xkm0hm678v63s87hxqb1ma"; + meta = { + description = "Another lightweight testing library in Haskell"; + license = "BSD"; + maintainers = [self.stdenv.lib.maintainers.andres]; + }; +}) + diff --git a/pkgs/top-level/haskell-packages.nix b/pkgs/top-level/haskell-packages.nix index 90324787314a..3447737b90b4 100644 --- a/pkgs/top-level/haskell-packages.nix +++ b/pkgs/top-level/haskell-packages.nix @@ -837,6 +837,8 @@ let result = let callPackage = x : y : modifyPrio (newScope result.final x y); sendfile = callPackage ../development/libraries/haskell/sendfile {}; + smallcheck = callPackage ../development/libraries/haskell/smallcheck {}; + snapCore = callPackage ../development/libraries/haskell/snap/core.nix {}; snapServer = callPackage ../development/libraries/haskell/snap/server.nix {};