Merge pull request #119126 from fabaff/pycomfoconnect
[NixPkgs.git] / pkgs / development / python-modules / bcrypt / 3_1.nix
blobdf57eb3cd0c9793f3b56933dc72bf04a6654c707
1 { lib, buildPythonPackage, fetchPypi
2 , isPyPy, cffi, pytest, six }:
4 buildPythonPackage rec {
5   version = "3.1.7";
6   pname = "bcrypt";
8   src = fetchPypi {
9     inherit pname version;
10     sha256 = "0b0069c752ec14172c5f78208f1863d7ad6755a6fae6fe76ec2c80d13be41e42";
11   };
13   checkInputs = [ pytest ];
15   propagatedBuildInputs = [ six ] ++ lib.optional (!isPyPy) cffi;
17   meta = with lib; {
18     description = "Modern password hashing for your software and your servers";
19     homepage = "https://github.com/pyca/bcrypt/";
20     license = licenses.asl20;
21     maintainers = with maintainers; [ domenkozar ];
22   };