Added a number of Haskell packages.

svn path=/nixpkgs/trunk/; revision=15622
This commit is contained in:
Andres Löh 2009-05-15 18:53:00 +00:00
parent cd7dba4f0b
commit ffcdec785b
5 changed files with 62 additions and 0 deletions

View File

@ -0,0 +1,12 @@
{cabal, QuickCheck}:
cabal.mkDerivation (self : {
pname = "non-negative";
version = "0.0.4";
sha256 = "0b82b7be086c8d4e493d606098d82c2e5d943fe76d18a5eb6836c449ba19fc6f";
propagatedBuildInputs = [QuickCheck];
meta = {
description = "Non-negative numbers";
};
})

View File

@ -0,0 +1,12 @@
{cabal, HUnit, QuickCheck, parsec, nonNegative, utilityHt}:
cabal.mkDerivation (self : {
pname = "numeric-prelude";
version = "0.1";
sha256 = "01de33ea483808704f6d2c635763fcbff3abe12db8035c6640124eb8486b6efb";
propagatedBuildInputs = [HUnit QuickCheck parsec nonNegative utilityHt];
meta = {
description = "An experimental alternative hierarchy of numeric type classes";
};
})

View File

@ -0,0 +1,11 @@
{cabal}:
cabal.mkDerivation (self : {
pname = "storable-complex";
version = "0.2";
sha256 = "4e0e48e641d415b8e549ca3db84468ae18fc74aa3e9848674c48a9024635b8bb";
meta = {
description = "Storable instance for Complex";
};
})

View File

@ -0,0 +1,11 @@
{cabal}:
cabal.mkDerivation (self : {
pname = "utility-ht";
version = "0.0.5.1";
sha256 = "f15fd1450b31f002e6d4fe3720cff7c899f23f8a68b890ea3854e68e596c97cb";
meta = {
description = "Various small helper functions for Lists, Maybes, Tuples, Functions";
};
})

View File

@ -185,6 +185,14 @@ rec {
inherit cabal parsec;
};
nonNegative = import ../development/libraries/haskell/non-negative {
inherit cabal QuickCheck;
};
numericPrelude = import ../development/libraries/haskell/numeric-prelude {
inherit cabal HUnit QuickCheck parsec nonNegative utilityHt;
};
OpenAL = import ../development/libraries/haskell/OpenAL {
inherit cabal OpenGL;
inherit (pkgs) openal;
@ -262,6 +270,10 @@ rec {
inherit cabal;
};
storableComplex = import ../development/libraries/haskell/storable-complex {
inherit cabal;
};
strictConcurrency = import ../development/libraries/haskell/strictConcurrency {
inherit cabal parallel;
};
@ -278,6 +290,10 @@ rec {
inherit cabal;
};
utilityHt = import ../development/libraries/haskell/utility-ht {
inherit cabal;
};
uulib = import ../development/libraries/haskell/uulib {
inherit cabal;
};