Skip to content

Commit e5de02b

Browse files
committed
python313Packages.scrypt: init at 0.8.27
Python bindings for the scrypt key derivation function https://github.com/holgern/py-scrypt
1 parent cad01eb commit e5de02b

File tree

2 files changed

+39
-0
lines changed

2 files changed

+39
-0
lines changed
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
{
2+
lib,
3+
buildPythonPackage,
4+
fetchFromGitHub,
5+
openssl,
6+
pytestCheckHook,
7+
setuptools,
8+
}:
9+
10+
buildPythonPackage 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+
}

pkgs/top-level/python-packages.nix

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14902,6 +14902,8 @@ self: super: with self; {
1490214902

1490314903
scripttest = callPackage ../development/python-modules/scripttest { };
1490414904

14905+
scrypt = callPackage ../development/python-modules/scrypt { };
14906+
1490514907
scikit-survival = callPackage ../development/python-modules/scikit-survival { };
1490614908

1490714909
scs = callPackage ../development/python-modules/scs {

0 commit comments

Comments
 (0)