7165babaf1
This change brings support for building and running the regressions test suites.
21 lines
627 B
Nix
21 lines
627 B
Nix
{ cabal, QuickCheck, random, testFramework
|
|
, testFrameworkQuickcheck2, text
|
|
}:
|
|
|
|
cabal.mkDerivation (self: {
|
|
pname = "hashable";
|
|
version = "1.1.2.5";
|
|
sha256 = "0gbiaj5ck2bvvinndp2pg7qsm2h2izbnz9wi97dbm7i8r4qd9d9z";
|
|
buildDepends = [ text ];
|
|
testDepends = [
|
|
QuickCheck random testFramework testFrameworkQuickcheck2 text
|
|
];
|
|
meta = {
|
|
homepage = "http://github.com/tibbe/hashable";
|
|
description = "A class for types that can be converted to a hash value";
|
|
license = self.stdenv.lib.licenses.bsd3;
|
|
platforms = self.ghc.meta.platforms;
|
|
maintainers = [ self.stdenv.lib.maintainers.andres ];
|
|
};
|
|
})
|