depot/third_party/nixpkgs/pkgs/development/python-modules/py_scrypt/default.nix

26 lines
497 B
Nix
Raw Normal View History

{ lib
, buildPythonPackage
, fetchPypi
, openssl
}:
buildPythonPackage rec {
pname = "scrypt";
version = "0.8.20";
src = fetchPypi {
inherit pname version;
sha256 = "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;
};
}