From 396d01415a7d82abd616a3def5f075b80ab7e542 Mon Sep 17 00:00:00 2001 From: Orivej Desh Date: Wed, 30 May 2018 07:19:30 +0000 Subject: [PATCH] pythonPackages.cryptacular: disable on the current Pythons --- pkgs/development/python-modules/cryptacular/default.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/cryptacular/default.nix b/pkgs/development/python-modules/cryptacular/default.nix index e81426a892d6..02c1c420bfda 100644 --- a/pkgs/development/python-modules/cryptacular/default.nix +++ b/pkgs/development/python-modules/cryptacular/default.nix @@ -1,4 +1,4 @@ -{ stdenv, buildPythonPackage, fetchPypi +{ stdenv, buildPythonPackage, fetchPypi, isPy27, pythonAtLeast , coverage, nose, pbkdf2 }: buildPythonPackage rec { @@ -16,6 +16,10 @@ buildPythonPackage rec { # 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 stdenv.lib; { maintainers = with maintainers; [ domenkozar ]; };