2021-02-05 17:12:51 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, isPy27, pythonAtLeast
|
2020-04-24 23:36:52 +00:00
|
|
|
, coverage, nose, pbkdf2 }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "cryptacular";
|
2021-09-18 10:52:07 +00:00
|
|
|
version = "1.6.2";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-09-18 10:52:07 +00:00
|
|
|
sha256 = "7b529cb2b8a3c7e5be77921bf1ebc653d4d3a8f791375cc6f971b20db2404176";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ coverage nose ];
|
|
|
|
propagatedBuildInputs = [ pbkdf2 ];
|
|
|
|
|
|
|
|
# TODO: tests fail: TypeError: object of type 'NoneType' has no len()
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
# Python >=2.7.15, >=3.6.5 are incompatible:
|
|
|
|
# https://bitbucket.org/dholth/cryptacular/issues/11
|
|
|
|
disabled = isPy27 || pythonAtLeast "3.6";
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
maintainers = with maintainers; [ domenkozar ];
|
|
|
|
};
|
|
|
|
}
|