From 79e84681178074c0a726fb1381fd7b7e1ac20de6 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Sun, 7 Aug 2011 20:26:02 +0000 Subject: [PATCH] haskell-packages.nix: added gamma library, required by random-fu svn path=/nixpkgs/trunk/; revision=28294 --- .../libraries/haskell/gamma/default.nix | 15 +++++++++++++++ pkgs/top-level/haskell-packages.nix | 2 ++ 2 files changed, 17 insertions(+) create mode 100755 pkgs/development/libraries/haskell/gamma/default.nix diff --git a/pkgs/development/libraries/haskell/gamma/default.nix b/pkgs/development/libraries/haskell/gamma/default.nix new file mode 100755 index 000000000000..96b8f6035ac0 --- /dev/null +++ b/pkgs/development/libraries/haskell/gamma/default.nix @@ -0,0 +1,15 @@ +{cabal, continuedFractions, converge, vector} : + +cabal.mkDerivation (self : { + pname = "gamma"; + version = "0.7.0.1"; + sha256 = "0728b5mrzmj9hkaqvikl45jyi2p9hnkl2p6l9yv7wnw557yb0gb2"; + propagatedBuildInputs = [ continuedFractions converge vector ]; + meta = { + homepage = "https://github.com/mokus0/gamma"; + description = "Gamma function and related functions."; + license = self.stdenv.lib.licenses.publicDomain; + platforms = self.stdenv.lib.platforms.haskellPlatforms; + maintainers = [ self.stdenv.lib.maintainers.simons ]; + }; +}) diff --git a/pkgs/top-level/haskell-packages.nix b/pkgs/top-level/haskell-packages.nix index e718befb09fe..027886687c0c 100644 --- a/pkgs/top-level/haskell-packages.nix +++ b/pkgs/top-level/haskell-packages.nix @@ -531,6 +531,8 @@ let result = let callPackage = x : y : modifyPrio (newScope result.final x y); fingertree = callPackage ../development/libraries/haskell/fingertree {}; + gamma = callPackage ../development/libraries/haskell/gamma {}; + gdiff = callPackage ../development/libraries/haskell/gdiff {}; getOptions = callPackage ../development/libraries/haskell/get-options {};