Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / bcrypt / 3.nix
blobfec467f983cc5e01f3afe330c246d6e1f02a6275
1 { lib
2 , buildPythonPackage
3 , setuptools
4 , isPyPy
5 , fetchPypi
6 , pythonOlder
7 , cffi
8 , pytestCheckHook
9 , six
12 buildPythonPackage rec {
13   pname = "bcrypt";
14   version = "3.2.2";
15   format = "pyproject";
17   disabled = pythonOlder "3.6";
19   src = fetchPypi {
20     inherit pname version;
21     hash = "sha256-QzxBDCF3BXcF2iqfLNAd0VdJOyp6wUyFk6FrPatra/s=";
22   };
24   nativeBuildInputs = [
25     setuptools
26   ];
28   propagatedBuildInputs = [
29     six
30     cffi
31   ];
33   propagatedNativeBuildInputs = [
34     cffi
35   ];
37   nativeCheckInputs = [
38     pytestCheckHook
39   ];
41   pythonImportsCheck = [
42     "bcrypt"
43   ];
45   meta = with lib; {
46     description = "Modern password hashing for your software and your servers";
47     homepage = "https://github.com/pyca/bcrypt/";
48     license = licenses.asl20;
49     maintainers = with maintainers; [ domenkozar ];
50   };