2021-01-25 08:26:54 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, isPy27, pythonAtLeast
|
2018-03-31 18:00:26 +00:00
|
|
|
, coverage, nose, pbkdf2 }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "cryptacular";
|
2019-10-24 06:47:28 +00:00
|
|
|
version = "1.5.5";
|
2018-03-31 18:00:26 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-10-24 06:47:28 +00:00
|
|
|
sha256 = "fb4d48716e88e4d050255ff0f065f6d437caa358ceef16ba5840c95cece224f9";
|
2018-03-31 18:00:26 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ coverage nose ];
|
|
|
|
propagatedBuildInputs = [ pbkdf2 ];
|
|
|
|
|
|
|
|
# TODO: tests fail: TypeError: object of type 'NoneType' has no len()
|
|
|
|
doCheck = false;
|
|
|
|
|
2018-05-30 07:19:30 +00:00
|
|
|
# Python >=2.7.15, >=3.6.5 are incompatible:
|
|
|
|
# https://bitbucket.org/dholth/cryptacular/issues/11
|
|
|
|
disabled = isPy27 || pythonAtLeast "3.6";
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2018-03-31 18:00:26 +00:00
|
|
|
maintainers = with maintainers; [ domenkozar ];
|
|
|
|
};
|
|
|
|
}
|