biome: 1.9.2 -> 1.9.3 (#349335)
[NixPkgs.git] / pkgs / development / python-modules / fastpbkdf2 / default.nix
blob2d6d68a3842d09ee9651bbbe64e851bb3bb7c7f6
2   lib,
3   fetchFromGitHub,
4   buildPythonPackage,
5   openssl,
6   pytest,
7   cffi,
8   six,
9 }:
11 buildPythonPackage rec {
12   pname = "fastpbkdf2";
13   version = "0.2";
14   format = "setuptools";
16   # Fetching from GitHub as tests are missing in PyPI
17   src = fetchFromGitHub {
18     owner = "Ayrx";
19     repo = "python-fastpbkdf2";
20     rev = "v${version}";
21     sha256 = "1hvvlk3j28i6nswb6gy3mq7278nq0mgfnpxh1rv6jvi7xhd7qmlc";
22   };
24   buildInputs = [ openssl ];
25   nativeCheckInputs = [ pytest ];
26   propagatedBuildInputs = [
27     cffi
28     six
29   ];
30   propagatedNativeBuildInputs = [ cffi ];
32   meta = with lib; {
33     homepage = "https://github.com/Ayrx/python-fastpbkdf2";
34     description = "Python bindings for fastpbkdf2";
35     license = licenses.bsd3;
36     maintainers = with maintainers; [ jqueiroz ];
37   };