nixpkgs/pkgs/development/libraries/haskell/scrypt/default.nix

21 lines
653 B
Nix
Raw Normal View History

2014-03-14 23:46:13 +01:00
{ cabal, base64Bytestring, entropy, HUnit, QuickCheck
, testFramework, testFrameworkHunit, testFrameworkQuickcheck2
}:
cabal.mkDerivation (self: {
pname = "scrypt";
version = "0.5.0";
sha256 = "1cnrjdq1ncv224dlk236a7w29na8r019d2acrsxlsaiy74iadh1y";
buildDepends = [ base64Bytestring entropy ];
testDepends = [
HUnit QuickCheck testFramework testFrameworkHunit
testFrameworkQuickcheck2
];
meta = {
homepage = "http://github.com/informatikr/scrypt";
description = "Stronger password hashing via sequential memory-hard functions";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
};
})