Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / fastpbkdf2 / default.nix
blob99ad26f0e7352269145dbdc31526651be4e92b56
1 { lib, fetchFromGitHub, buildPythonPackage
2 , openssl, pytest, cffi, six }:
4 buildPythonPackage rec {
5   pname = "fastpbkdf2";
6   version = "0.2";
7   format = "setuptools";
9   # Fetching from GitHub as tests are missing in PyPI
10   src = fetchFromGitHub {
11     owner  = "Ayrx";
12     repo   = "python-fastpbkdf2";
13     rev    = "v${version}";
14     sha256 = "1hvvlk3j28i6nswb6gy3mq7278nq0mgfnpxh1rv6jvi7xhd7qmlc";
15   };
17   buildInputs = [ openssl ];
18   nativeCheckInputs = [ pytest ];
19   propagatedBuildInputs = [ cffi six ];
20   propagatedNativeBuildInputs = [ cffi ];
22   meta = with lib; {
23     homepage = "https://github.com/Ayrx/python-fastpbkdf2";
24     description = "Python bindings for fastpbkdf2";
25     license = licenses.bsd3;
26     maintainers = with maintainers; [ jqueiroz ];
27   };