haskell-scientific: add versions 0.1.0.1 and 0.3.2.1

This commit is contained in:
Peter Simons 2014-05-23 19:04:06 +02:00
parent 1fddf8d0aa
commit db0b1b76d3
4 changed files with 43 additions and 1 deletions

View File

@ -0,0 +1,17 @@
{ cabal, deepseq, hashable, smallcheck, tasty, tastySmallcheck
, text
}:
cabal.mkDerivation (self: {
pname = "scientific";
version = "0.1.0.1";
sha256 = "0s401gxwap4xwz9rxypc76rs5w344s3an45295ybf3id6yal5140";
buildDepends = [ deepseq hashable text ];
testDepends = [ smallcheck tasty tastySmallcheck text ];
meta = {
homepage = "https://github.com/basvandijk/scientific";
description = "Arbitrary-precision floating-point numbers represented using scientific notation";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
};
})

View File

@ -0,0 +1,22 @@
{ cabal, deepseq, hashable, QuickCheck, smallcheck, tasty
, tastyAntXml, tastyQuickcheck, tastySmallcheck, text
}:
cabal.mkDerivation (self: {
pname = "scientific";
version = "0.3.2.1";
sha256 = "0z0k0dqmv6a3spgl48yl00a55niv0gqjy906sh4r8xfpsabzl88s";
buildDepends = [ deepseq hashable text ];
testDepends = [
QuickCheck smallcheck tasty tastyAntXml tastyQuickcheck
tastySmallcheck text
];
jailbreak = true;
meta = {
homepage = "https://github.com/basvandijk/scientific";
description = "Numbers represented using scientific notation";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
maintainers = [ self.stdenv.lib.maintainers.ocharles ];
};
})

View File

@ -1879,7 +1879,10 @@ self : let callPackage = x : y : modifyPrio (newScope self x y); in
sbv = callPackage ../development/libraries/haskell/sbv {};
scientific = callPackage ../development/libraries/haskell/scientific {};
scientific_0_1_0_1 = callPackage ../development/libraries/haskell/scientific/0.1.0.1.nix {};
scientific_0_2_0_2 = callPackage ../development/libraries/haskell/scientific/0.2.0.2.nix {};
scientific_0_3_2_1 = callPackage ../development/libraries/haskell/scientific/0.3.2.1.nix {};
scientific = self.scientific_0_2_0_2; # version 0.3.x requires updates to aeson and other stuff
scotty = callPackage ../development/libraries/haskell/scotty {};