mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-11-06 10:16:44 +01:00
27 lines
688 B
Nix
27 lines
688 B
Nix
{ lib, buildPythonPackage, fetchPypi, isPy27, pythonAtLeast
|
|
, coverage, nose, pbkdf2 }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "cryptacular";
|
|
version = "1.5.5";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "fb4d48716e88e4d050255ff0f065f6d437caa358ceef16ba5840c95cece224f9";
|
|
};
|
|
|
|
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";
|
|
|
|
meta = with lib; {
|
|
maintainers = with maintainers; [ domenkozar ];
|
|
};
|
|
}
|