2021-01-25 08:26:54 +00:00
|
|
|
{ lib, fetchFromGitHub, buildPythonPackage
|
2018-11-03 14:41:16 +00:00
|
|
|
, openssl, pytest, cffi, six }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "fastpbkdf2";
|
|
|
|
version = "0.2";
|
|
|
|
|
|
|
|
# Fetching from GitHub as tests are missing in PyPI
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "Ayrx";
|
|
|
|
repo = "python-fastpbkdf2";
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "1hvvlk3j28i6nswb6gy3mq7278nq0mgfnpxh1rv6jvi7xhd7qmlc";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ openssl ];
|
|
|
|
checkInputs = [ pytest ];
|
|
|
|
propagatedBuildInputs = [ cffi six ];
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/Ayrx/python-fastpbkdf2";
|
2018-11-03 14:41:16 +00:00
|
|
|
description = "Python bindings for fastpbkdf2";
|
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = with maintainers; [ jqueiroz ];
|
|
|
|
};
|
|
|
|
}
|