Files
nixpkgs/pkgs/development/python-modules/scrypt/default.nix
Fabian Affolter e5de02b50c python313Packages.scrypt: init at 0.8.27
Python bindings for the scrypt key derivation function

https://github.com/holgern/py-scrypt
2025-03-08 14:30:04 +01:00

38 lines
813 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
openssl,
pytestCheckHook,
setuptools,
}:
buildPythonPackage rec {
pname = "scrypt";
version = "0.8.27";
pyproject = true;
src = fetchFromGitHub {
owner = "holgern";
repo = "py-scrypt";
tag = "v${version}";
hash = "sha256-r5tXRq4VFieqw3Plx6W5imDIeGIldW1BREdm6/Kav3M=";
};
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 ];
};
}