1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 openssl, 6 pytestCheckHook, 7 setuptools, 8}: 9 10buildPythonPackage rec { 11 pname = "scrypt"; 12 version = "0.8.27"; 13 pyproject = true; 14 15 src = fetchFromGitHub { 16 owner = "holgern"; 17 repo = "py-scrypt"; 18 tag = "v${version}"; 19 hash = "sha256-r5tXRq4VFieqw3Plx6W5imDIeGIldW1BREdm6/Kav3M="; 20 }; 21 22 build-system = [ setuptools ]; 23 24 buildInputs = [ openssl ]; 25 26 nativeCheckInputs = [ pytestCheckHook ]; 27 28 pythonImportsCheck = [ "scrypt" ]; 29 30 meta = { 31 description = "Python bindings for the scrypt key derivation function"; 32 homepage = "https://github.com/holgern/py-scrypt"; 33 changelog = "https://github.com/holgern/py-scrypt/releases/tag/${src.tag}"; 34 license = lib.licenses.bsd2; 35 maintainers = with lib.maintainers; [ fab ]; 36 }; 37}