nixpkgs/pkgs/development/python-modules/py_scrypt/default.nix
Martin Weinelt 0215034f25 python3.pkgs: Migrate fetchers to use hash
when they already rely on SRI hashes.
2023-03-03 23:59:29 +01:00

26 lines
495 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, openssl
}:
buildPythonPackage rec {
pname = "scrypt";
version = "0.8.20";
src = fetchPypi {
inherit pname version;
hash = "sha256-DSJsHGdE+y4wizkUEGabHfXP6CY3/8te1Im/grLS63g=";
};
buildInputs = [ openssl ];
doCheck = false;
meta = with lib; {
description = "Bindings for scrypt key derivation function library";
homepage = "https://pypi.python.org/pypi/scrypt";
maintainers = [];
license = licenses.bsd2;
};
}