Added the Haskell criterion package.
svn path=/nixpkgs/trunk/; revision=24741
This commit is contained in:
18
pkgs/development/libraries/haskell/criterion/default.nix
Normal file
18
pkgs/development/libraries/haskell/criterion/default.nix
Normal file
@@ -0,0 +1,18 @@
|
||||
{cabal, deepseq, mtl, parallel, parsec, vector, vectorAlgorithms,
|
||||
mwcRandom, statistics}:
|
||||
|
||||
cabal.mkDerivation (self : {
|
||||
pname = "criterion";
|
||||
version = "0.5.0.5";
|
||||
sha256 = "1b1g7a2ip07j0554cj4d0413859fbdkaxpcgq2znjz7wh8z5aabn";
|
||||
|
||||
propagatedBuildInputs =
|
||||
[deepseq mtl parallel parsec vector vectorAlgorithms mwcRandom statistics];
|
||||
|
||||
meta = {
|
||||
homepage = "http://bitbucket.org/bos/criterion";
|
||||
description = "Robust, reliable performance measurement and analysis";
|
||||
license = "BSD";
|
||||
maintainers = [self.stdenv.lib.maintainers.andres];
|
||||
};
|
||||
})
|
||||
13
pkgs/development/libraries/haskell/erf/default.nix
Normal file
13
pkgs/development/libraries/haskell/erf/default.nix
Normal file
@@ -0,0 +1,13 @@
|
||||
{cabal}:
|
||||
|
||||
cabal.mkDerivation (self : {
|
||||
pname = "erf";
|
||||
version = "1.0.0.0";
|
||||
sha256 = "0zkb9csnfqcrzdkqqn0xihfx1k17fw9ki7y3d1di67lnlmjpkqnn";
|
||||
meta = {
|
||||
description = "The error function, erf, and friends";
|
||||
license = "BSD";
|
||||
maintainers = [self.stdenv.lib.maintainers.andres];
|
||||
};
|
||||
})
|
||||
|
||||
14
pkgs/development/libraries/haskell/mwc-random/default.nix
Normal file
14
pkgs/development/libraries/haskell/mwc-random/default.nix
Normal file
@@ -0,0 +1,14 @@
|
||||
{cabal, primitive, vector}:
|
||||
|
||||
cabal.mkDerivation (self : {
|
||||
pname = "mwc-random";
|
||||
version = "0.8.0.2";
|
||||
sha256 = "1lry31abyz6wh3x8ipclgkfc889azs7mw2ppp9kpdlx41wbzhdj6";
|
||||
propagatedBuildInputs = [primitive vector];
|
||||
meta = {
|
||||
description = "Fast, high quality pseudo random number generation";
|
||||
license = "BSD";
|
||||
maintainers = [self.stdenv.lib.maintainers.andres];
|
||||
};
|
||||
})
|
||||
|
||||
@@ -2,8 +2,8 @@
|
||||
|
||||
cabal.mkDerivation (self : {
|
||||
pname = "primitive";
|
||||
version = "0.3";
|
||||
sha256 = "b63cb5dd3417433429b3ad5489791bddd0973b96b7c3314a4ecc9e6a68b2a35d";
|
||||
version = "0.3.1";
|
||||
sha256 = "1903hx88ax4dgyyx00a0k86jy4mkqrprpn7arfy19dqqyfpb2ikj";
|
||||
meta = {
|
||||
description = "Wrappers for primitive operations";
|
||||
license = "BSD";
|
||||
|
||||
15
pkgs/development/libraries/haskell/statistics/default.nix
Normal file
15
pkgs/development/libraries/haskell/statistics/default.nix
Normal file
@@ -0,0 +1,15 @@
|
||||
{cabal, primitive, vector, vectorAlgorithms, mwcRandom, erf}:
|
||||
|
||||
cabal.mkDerivation (self : {
|
||||
pname = "statistics";
|
||||
version = "0.8.0.3";
|
||||
sha256 = "11b7ai661sm7j4n8wymipzjldshackwgv6kkp6yqrkxzg40xhal9";
|
||||
propagatedBuildInputs =
|
||||
[primitive vector vectorAlgorithms mwcRandom erf];
|
||||
meta = {
|
||||
description = "A library of statistical types, data and functions";
|
||||
license = "BSD";
|
||||
maintainers = [self.stdenv.lib.maintainers.andres];
|
||||
};
|
||||
})
|
||||
|
||||
@@ -0,0 +1,14 @@
|
||||
{cabal, primitive, vector}:
|
||||
|
||||
cabal.mkDerivation (self : {
|
||||
pname = "vector-algorithms";
|
||||
version = "0.3.4";
|
||||
sha256 = "19b25myz0lhf010lgajlkz72g3w119x89i097rmbc2y4z1bjgpiv";
|
||||
propagatedBuildInputs = [primitive vector];
|
||||
meta = {
|
||||
description = "Efficient algorithms for vector arrays";
|
||||
license = "BSD";
|
||||
maintainers = [self.stdenv.lib.maintainers.andres];
|
||||
};
|
||||
})
|
||||
|
||||
@@ -2,8 +2,8 @@
|
||||
|
||||
cabal.mkDerivation (self : {
|
||||
pname = "vector";
|
||||
version = "0.6.0.1";
|
||||
sha256 = "b0cba9b3aa94688321a2ec7b4fb4b41781073b2605584ad41957ba1c6892acce";
|
||||
version = "0.7.0.1";
|
||||
sha256 = "147kwm3p6w1qg1sg3ls7i8zj3mcnyxf80il4r5kz5fd3n1ibvyxj";
|
||||
propagatedBuildInputs = [primitive];
|
||||
meta = {
|
||||
description = "Efficient arrays";
|
||||
|
||||
Reference in New Issue
Block a user