2018-01-09 16:45:57 +01:00
|
|
|
{ stdenv
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, openssl
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "scrypt";
|
2018-02-17 14:22:01 +01:00
|
|
|
version = "0.8.6";
|
2018-01-09 16:45:57 +01:00
|
|
|
name = "${pname}-${version}";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-02-17 14:22:01 +01:00
|
|
|
sha256 = "f8239b2d47fa1d40bc27efd231dc7083695d10c1c2ac51a99380360741e0362d";
|
2018-01-09 16:45:57 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ openssl ];
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Bindings for scrypt key derivation function library";
|
|
|
|
homepage = https://pypi.python.org/pypi/scrypt;
|
|
|
|
maintainers = with maintainers; [ asymmetric ];
|
|
|
|
license = licenses.bsd2;
|
|
|
|
};
|
|
|
|
}
|