haskell-packages.nix: added numtype and dimensional libraries

svn path=/nixpkgs/trunk/; revision=28131
This commit is contained in:
Peter Simons 2011-08-02 22:14:18 +00:00
parent 451f7818a5
commit 857d2673ae
3 changed files with 29 additions and 0 deletions

View file

@ -0,0 +1,13 @@
{cabal, numtype}:
cabal.mkDerivation (self : {
pname = "dimensional";
version = "0.10";
sha256 = "5d0ab2a0ca566f7d9a4fe1ec180a1bcf4138a3647a2c287a908506c8911cd385";
propagatedBuildInputs = [numtype];
meta = {
description = "library providing data types for performing arithmetic with physical quantities and units";
license = "BSD";
maintainers = [self.stdenv.lib.maintainers.simons];
};
})

View file

@ -0,0 +1,12 @@
{cabal}:
cabal.mkDerivation (self : {
pname = "numtype";
version = "1.0";
sha256 = "2606e81d7bcef0ba76b1e6ffc8d513c36fef5fefaab3bdd02da18761ec504e1f";
meta = {
description = "unary type level representations of the (positive and negative) integers";
license = "BSD";
maintainers = [self.stdenv.lib.maintainers.simons];
};
})

View file

@ -442,6 +442,8 @@ let result = let callPackage = x : y : modifyPrio (newScope result.final x y);
inherit (pkgs) zlib;
};
dimensional = callPackage ../development/libraries/haskell/dimensional {};
directoryTree = callPackage ../development/libraries/haskell/directory-tree {};
dlist = callPackage ../development/libraries/haskell/dlist {};
@ -754,6 +756,8 @@ let result = let callPackage = x : y : modifyPrio (newScope result.final x y);
numericPrelude = callPackage ../development/libraries/haskell/numeric-prelude {};
numtype = callPackage ../development/libraries/haskell/numtype {};
OneTuple = callPackage ../development/libraries/haskell/OneTuple {};
OpenAL = callPackage ../development/libraries/haskell/OpenAL {