23 lines
702 B
Nix
23 lines
702 B
Nix
{ cabal, HUnit, QuickCheck, random, testFramework
|
|
, testFrameworkHunit, testFrameworkQuickcheck2, text
|
|
}:
|
|
|
|
cabal.mkDerivation (self: {
|
|
pname = "hashable";
|
|
version = "1.2.1.0";
|
|
sha256 = "09m1glpcxm3f6s9cwz8xzljy6j0n271cym4d9dllw5rpzrwp9h2f";
|
|
buildDepends = [ text ];
|
|
testDepends = [
|
|
HUnit QuickCheck random testFramework testFrameworkHunit
|
|
testFrameworkQuickcheck2 text
|
|
];
|
|
doCheck = false;
|
|
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 ];
|
|
};
|
|
})
|