Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.09-beta 26 lines 698 B view raw
1{ stdenv, buildPythonPackage, fetchPypi, isPy27, pythonAtLeast 2, coverage, nose, pbkdf2 }: 3 4buildPythonPackage rec { 5 pname = "cryptacular"; 6 version = "1.5.5"; 7 8 src = fetchPypi { 9 inherit pname version; 10 sha256 = "fb4d48716e88e4d050255ff0f065f6d437caa358ceef16ba5840c95cece224f9"; 11 }; 12 13 buildInputs = [ coverage nose ]; 14 propagatedBuildInputs = [ pbkdf2 ]; 15 16 # TODO: tests fail: TypeError: object of type 'NoneType' has no len() 17 doCheck = false; 18 19 # Python >=2.7.15, >=3.6.5 are incompatible: 20 # https://bitbucket.org/dholth/cryptacular/issues/11 21 disabled = isPy27 || pythonAtLeast "3.6"; 22 23 meta = with stdenv.lib; { 24 maintainers = with maintainers; [ domenkozar ]; 25 }; 26}