blob: f0b3e9066bcb56f0509beacafb94322d93678ef8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
{
lib,
buildPythonPackage,
setuptools,
fetchPypi,
cffi,
pytestCheckHook,
six,
}:
buildPythonPackage rec {
pname = "bcrypt";
version = "3.2.2";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-QzxBDCF3BXcF2iqfLNAd0VdJOyp6wUyFk6FrPatra/s=";
};
nativeBuildInputs = [ setuptools ];
propagatedBuildInputs = [
six
cffi
];
propagatedNativeBuildInputs = [ cffi ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "bcrypt" ];
meta = {
description = "Modern password hashing for your software and your servers";
homepage = "https://github.com/pyca/bcrypt/";
license = lib.licenses.asl20;
maintainers = [ ];
};
}
|