From 03deb613305bc7498f2578ae3289b378ae3c25aa Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Fri, 23 Sep 2011 16:08:52 +0000 Subject: [PATCH] haskell-NumInstances: added version 1.0 svn path=/nixpkgs/trunk/; revision=29457 --- .../libraries/haskell/NumInstances/default.nix | 12 ++++++++++++ pkgs/top-level/haskell-packages.nix | 2 ++ 2 files changed, 14 insertions(+) create mode 100644 pkgs/development/libraries/haskell/NumInstances/default.nix diff --git a/pkgs/development/libraries/haskell/NumInstances/default.nix b/pkgs/development/libraries/haskell/NumInstances/default.nix new file mode 100644 index 000000000000..7c5262edafe0 --- /dev/null +++ b/pkgs/development/libraries/haskell/NumInstances/default.nix @@ -0,0 +1,12 @@ +{ cabal }: + +cabal.mkDerivation (self: { + pname = "NumInstances"; + version = "1.0"; + sha256 = "1fmg3slwma5f88a2qxj54ny40s67qbdyvsyh506bkp11v54958fy"; + meta = { + description = "Instances of numeric classes for functions and tuples"; + 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 777a24e0cbda..acdf78684bdd 100644 --- a/pkgs/top-level/haskell-packages.nix +++ b/pkgs/top-level/haskell-packages.nix @@ -884,6 +884,8 @@ let result = let callPackage = x : y : modifyPrio (newScope result.final x y); numericPrelude = callPackage ../development/libraries/haskell/numeric-prelude {}; + NumInstances = callPackage ../development/libraries/haskell/NumInstances {}; + numtype = callPackage ../development/libraries/haskell/numtype {}; OneTuple = callPackage ../development/libraries/haskell/OneTuple {};