Diff: https://github.com/holgern/py-scrypt/compare/refs/tags/v0.8.29...refs/tags/v0.9.4 Changelog: https://github.com/holgern/py-scrypt/releases/tag/v0.9.4
38 lines
812 B
Nix
38 lines
812 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
openssl,
|
|
pytestCheckHook,
|
|
setuptools,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "scrypt";
|
|
version = "0.9.4";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "holgern";
|
|
repo = "py-scrypt";
|
|
tag = "v${version}";
|
|
hash = "sha256-4jVXaPD57RMe4ef1PVgZwPGAhEHL3RGlu2DSC6lGuR4=";
|
|
};
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
buildInputs = [ openssl ];
|
|
|
|
nativeCheckInputs = [ pytestCheckHook ];
|
|
|
|
pythonImportsCheck = [ "scrypt" ];
|
|
|
|
meta = {
|
|
description = "Python bindings for the scrypt key derivation function";
|
|
homepage = "https://github.com/holgern/py-scrypt";
|
|
changelog = "https://github.com/holgern/py-scrypt/releases/tag/${src.tag}";
|
|
license = lib.licenses.bsd2;
|
|
maintainers = with lib.maintainers; [ fab ];
|
|
};
|
|
}
|