From 922c14e372666eee5a0389225b46330d6a400a4a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andres=20L=C3=B6h?= Date: Sat, 25 Apr 2009 15:33:37 +0000 Subject: [PATCH] Added MonadRandom Haskell package. svn path=/nixpkgs/trunk/; revision=15305 --- .../libraries/haskell/MonadRandom/default.nix | 12 ++++++++++++ pkgs/top-level/haskell-packages.nix | 4 ++++ 2 files changed, 16 insertions(+) create mode 100644 pkgs/development/libraries/haskell/MonadRandom/default.nix diff --git a/pkgs/development/libraries/haskell/MonadRandom/default.nix b/pkgs/development/libraries/haskell/MonadRandom/default.nix new file mode 100644 index 000000000000..461f98a9033c --- /dev/null +++ b/pkgs/development/libraries/haskell/MonadRandom/default.nix @@ -0,0 +1,12 @@ +{cabal, mtl}: + +cabal.mkDerivation (self : { + pname = "MonadRandom"; + version = "0.1.3"; + sha256 = "be4dd46a93b59a5e94b58e6986934ca91feace9962a1741b6107a3dd06879fea"; + propagatedBuildInputs = [mtl]; + meta = { + description = "Random-number generation monad"; + }; +}) + diff --git a/pkgs/top-level/haskell-packages.nix b/pkgs/top-level/haskell-packages.nix index 122cb294c372..1c6fb17aea47 100644 --- a/pkgs/top-level/haskell-packages.nix +++ b/pkgs/top-level/haskell-packages.nix @@ -153,6 +153,10 @@ rec { inherit cabal; }; + MonadRandom = import ../development/libraries/haskell/MonadRandom { + inherit cabal mtl; + }; + mtl = import ../development/libraries/haskell/mtl { inherit cabal; };