From a7e554d43ca972ae646e69e68b37d8789d51644d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andres=20L=C3=B6h?= Date: Thu, 13 May 2010 17:23:33 +0000 Subject: [PATCH] Added Vec and Ranged-sets libraries for Haskell. svn path=/nixpkgs/trunk/; revision=21767 --- .../libraries/haskell/Ranged-sets/default.nix | 14 ++++++++++++++ pkgs/development/libraries/haskell/Vec/default.nix | 14 ++++++++++++++ pkgs/top-level/haskell-packages.nix | 8 ++++++++ 3 files changed, 36 insertions(+) create mode 100644 pkgs/development/libraries/haskell/Ranged-sets/default.nix create mode 100644 pkgs/development/libraries/haskell/Vec/default.nix diff --git a/pkgs/development/libraries/haskell/Ranged-sets/default.nix b/pkgs/development/libraries/haskell/Ranged-sets/default.nix new file mode 100644 index 000000000000..547ac31b03cd --- /dev/null +++ b/pkgs/development/libraries/haskell/Ranged-sets/default.nix @@ -0,0 +1,14 @@ +{cabal, HUnit, QuickCheck}: + +cabal.mkDerivation (self : { + pname = "Ranged-sets"; + version = "0.2.1"; + sha256 = "dee83d2ea0ae56ff31eb7c74a0785328ca8621792c0859e223b12c17bb775f12"; + propagatedBuildInputs = [HUnit QuickCheck]; + meta = { + description = "Ranged sets for Haskell"; + license = "BSD"; + maintainers = [self.stdenv.lib.maintainers.andres]; + }; +}) + diff --git a/pkgs/development/libraries/haskell/Vec/default.nix b/pkgs/development/libraries/haskell/Vec/default.nix new file mode 100644 index 000000000000..92e1a68db28d --- /dev/null +++ b/pkgs/development/libraries/haskell/Vec/default.nix @@ -0,0 +1,14 @@ +{cabal, QuickCheck}: + +cabal.mkDerivation (self : { + pname = "Vec"; + version = "0.9.7"; + sha256 = "a67197f4dc022d6119a790e029a9475a17bb04ad812006bb154e5da9cd8f7ac7"; + propagatedBuildInputs = [QuickCheck]; + meta = { + description = "Fixed-length lists and low-dimensional linear algebra"; + license = "BSD"; + maintainers = [self.stdenv.lib.maintainers.andres]; + }; +}) + diff --git a/pkgs/top-level/haskell-packages.nix b/pkgs/top-level/haskell-packages.nix index a04ba8919f7a..16b8ce7c4220 100644 --- a/pkgs/top-level/haskell-packages.nix +++ b/pkgs/top-level/haskell-packages.nix @@ -576,6 +576,10 @@ rec { inherit cabal mtl; }; + RangedSets = import ../development/libraries/haskell/Ranged-sets { + inherit cabal HUnit QuickCheck; + }; + readline = import ../development/libraries/haskell/readline { inherit cabal; inherit (pkgs) readline ncurses; @@ -786,6 +790,10 @@ rec { inherit cabal vacuum gtk2hs parallel strictConcurrency; }; + Vec = import ../development/libraries/haskell/Vec { + inherit cabal QuickCheck; + }; + vector = import ../development/libraries/haskell/vector { inherit cabal primitive; };