Updated Haskell packages.

- cautious-file: updated to version 1.0.1
 - hmatrix: updated to version 0.14.0.1
 - random-fu: updated to version 0.2.2.0
 - resourcet: added version 0.3.0
 - sendfile: updated to version 0.7.6
 - test-framework: added version 0.6

svn path=/nixpkgs/trunk/; revision=33354
This commit is contained in:
Peter Simons 2012-03-22 11:17:49 +00:00
parent d905637b44
commit 0c842e7620
8 changed files with 66 additions and 13 deletions

View File

@ -2,8 +2,8 @@
cabal.mkDerivation (self: {
pname = "cautious-file";
version = "1.0";
sha256 = "1s2la91vk9c99bj0ipzc4r6w81rcs4jfmn0xr1cgjab00bzj880q";
version = "1.0.1";
sha256 = "0mlgchvdhw9lhml4pqmxxvx1zcqmkcyl3yx6w3zp0df200njzsws";
buildDepends = [ filepath ];
meta = {
description = "Ways to write a file cautiously, to reduce the chances of problems such as data loss due to crashes or power failures";

View File

@ -1,13 +1,15 @@
{ cabal, binary, blas, gsl, liblapack, storableComplex, vector }:
{ cabal, binary, blas, gsl, liblapack, random, storableComplex
, vector
}:
cabal.mkDerivation (self: {
pname = "hmatrix";
version = "0.13.1.0";
sha256 = "0pl5z6zsxyvbdfdng77r2c4isq6d4wbyzx2qs9r8rbn6glaxwrmp";
buildDepends = [ binary storableComplex vector ];
version = "0.14.0.1";
sha256 = "057ii711qsh5307bp3jqpvlhwp2iacr83whhjm5053b5psinj4z5";
buildDepends = [ binary random storableComplex vector ];
extraLibraries = [ blas gsl liblapack ];
meta = {
homepage = "http://perception.inf.um.es/hmatrix";
homepage = "https://github.com/albertoruiz/hmatrix";
description = "Linear algebra and numerical computation";
license = "GPL";
platforms = self.ghc.meta.platforms;

View File

@ -4,8 +4,8 @@
cabal.mkDerivation (self: {
pname = "random-fu";
version = "0.2.1.1";
sha256 = "034pnmagly3akmmcli018258fnyqlyz79av21dqqklfixvw3yja7";
version = "0.2.2.0";
sha256 = "1wv2c6ba3ad80zyj75xfds98q7psgjkmaqk2zm0srmipq06mx92r";
buildDepends = [
erf gamma monadLoops mtl randomShuffle randomSource rvar syb
transformers vector

View File

@ -0,0 +1,17 @@
{ cabal, liftedBase, monadControl, transformers, transformersBase
}:
cabal.mkDerivation (self: {
pname = "resourcet";
version = "0.3.0";
sha256 = "1r7yyw8jzh1wxy03mv22hg1c9ff9s4iv86kfgnmva8nwmcgnv0a1";
buildDepends = [
liftedBase monadControl transformers transformersBase
];
meta = {
homepage = "http://github.com/snoyberg/conduit";
description = "Deterministic allocation and freeing of scarce resources";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
};
})

View File

@ -2,8 +2,8 @@
cabal.mkDerivation (self: {
pname = "sendfile";
version = "0.7.5";
sha256 = "0gkkxlbl3ci1b973jyksk03400pm8npmsqv81iqs0lwbzc7nxs28";
version = "0.7.6";
sha256 = "0wqbnr07s3g7f6p4x27ips9nzjjz1ii5hw1q54i31g40jzv8rs7z";
buildDepends = [ network ];
meta = {
homepage = "http://patch-tag.com/r/mae/sendfile";

View File

@ -0,0 +1,25 @@
{ cabal, ansiTerminal, ansiWlPprint, extensibleExceptions, hostname
, random, regexPosix, time, xml
}:
cabal.mkDerivation (self: {
pname = "test-framework";
version = "0.6";
sha256 = "1ah5q3fwd5dmh2zb4rphdpz7hs39m4g1khvxjjwfzwyd9pxiz723";
isLibrary = true;
isExecutable = true;
buildDepends = [
ansiTerminal ansiWlPprint extensibleExceptions hostname random
regexPosix time xml
];
meta = {
homepage = "http://batterseapower.github.com/test-framework/";
description = "Framework for running and organising tests, with HUnit and QuickCheck support";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
maintainers = [
self.stdenv.lib.maintainers.andres
self.stdenv.lib.maintainers.simons
];
};
})

View File

@ -1211,6 +1211,8 @@ let result = let callPackage = x : y : modifyPrio (newScope result.final x y);
resourcePool = callPackage ../development/libraries/haskell/resource-pool {};
resourcet = callPackage ../development/libraries/haskell/resourcet {};
RSA = callPackage ../development/libraries/haskell/RSA {};
safe = callPackage ../development/libraries/haskell/safe {};
@ -1324,7 +1326,9 @@ let result = let callPackage = x : y : modifyPrio (newScope result.final x y);
terminfo = callPackage ../development/libraries/haskell/terminfo {};
testFramework = callPackage ../development/libraries/haskell/test-framework {};
testFramework_0_6 = callPackage ../development/libraries/haskell/test-framework/0.6.nix {};
testFramework_0_5 = callPackage ../development/libraries/haskell/test-framework/0.5.nix {};
testFramework = self.testFramework_0_6;
testFrameworkHunit = callPackage ../development/libraries/haskell/test-framework-hunit {};
@ -1608,7 +1612,12 @@ let result = let callPackage = x : y : modifyPrio (newScope result.final x y);
QuickCheck = self.QuickCheck2;
};
mathblog = callPackage ../applications/misc/mathblog {};
mathblog = callPackage ../applications/misc/mathblog {
testFramework = self.testFramework_0_5;
testFrameworkHunit = self.testFrameworkHunit.override {
testFramework = self.testFramework_0_5;
};
};
xmobar = callPackage ../applications/misc/xmobar {
parsec = self.parsec3;