mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 05:33:23 +00:00
a30df95691
This change brings support for building and running the regressions test suites.
21 lines
585 B
Nix
21 lines
585 B
Nix
{ cabal, Cabal, deepseq, QuickCheck, testFramework
|
|
, testFrameworkQuickcheck2
|
|
}:
|
|
|
|
cabal.mkDerivation (self: {
|
|
pname = "time";
|
|
version = "1.4.0.2";
|
|
sha256 = "0p4ncankr9968lp4fnbq6pc5xwv2198gxhbds656da9jbv74w7j8";
|
|
buildDepends = [ deepseq ];
|
|
testDepends = [
|
|
Cabal deepseq QuickCheck testFramework testFrameworkQuickcheck2
|
|
];
|
|
meta = {
|
|
homepage = "http://semantic.org/TimeLib/";
|
|
description = "A time library";
|
|
license = self.stdenv.lib.licenses.bsd3;
|
|
platforms = self.ghc.meta.platforms;
|
|
maintainers = [ self.stdenv.lib.maintainers.andres ];
|
|
};
|
|
})
|