From 0b6775521c4053fe476540a1993b68b5b3a40094 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Sun, 7 Aug 2011 20:25:57 +0000 Subject: [PATCH] haskell-packages.nix: added continued-fractions library, required by random-fu svn path=/nixpkgs/trunk/; revision=28293 --- .../haskell/continued-fractions/default.nix | 12 ++++++++++++ pkgs/top-level/haskell-packages.nix | 2 ++ 2 files changed, 14 insertions(+) create mode 100755 pkgs/development/libraries/haskell/continued-fractions/default.nix diff --git a/pkgs/development/libraries/haskell/continued-fractions/default.nix b/pkgs/development/libraries/haskell/continued-fractions/default.nix new file mode 100755 index 000000000000..882fd8a6ebef --- /dev/null +++ b/pkgs/development/libraries/haskell/continued-fractions/default.nix @@ -0,0 +1,12 @@ +{cabal} : + +cabal.mkDerivation (self : { + pname = "continued-fractions"; + version = "0.9.1.0"; + sha256 = "07g6ms68xfzd25zr2k2fpg4f4pynmq4mn7djkzrg3gbfh9gfq37q"; + meta = { + homepage = "/dev/null"; + description = "Continued fractions."; + license = self.stdenv.lib.licenses.publicDomain; + }; +}) diff --git a/pkgs/top-level/haskell-packages.nix b/pkgs/top-level/haskell-packages.nix index d845f1a11b89..e718befb09fe 100644 --- a/pkgs/top-level/haskell-packages.nix +++ b/pkgs/top-level/haskell-packages.nix @@ -442,6 +442,8 @@ let result = let callPackage = x : y : modifyPrio (newScope result.final x y); time = self.time_1_1_3; }; + continuedFractions = callPackage ../development/libraries/haskell/continued-fractions {}; + converge = callPackage ../development/libraries/haskell/converge {}; cookie = callPackage ../development/libraries/haskell/cookie {};