diff --git a/pkgs/development/python-modules/crashtest/default.nix b/pkgs/development/python-modules/crashtest/default.nix index e4c7fb839f9..9e6ff1f3d83 100644 --- a/pkgs/development/python-modules/crashtest/default.nix +++ b/pkgs/development/python-modules/crashtest/default.nix @@ -1,9 +1,9 @@ -{ lib, buildPythonPackage, fetchFromGitHub, fetchPypi, isPy27, pytest }: +{ lib, buildPythonPackage, fetchFromGitHub, fetchPypi, pythonAtLeast, pytest }: buildPythonPackage rec { pname = "crashtest"; version = "0.3.0"; - disabled = isPy27; + disabled = !(pythonAtLeast "3.6"); src = fetchPypi { inherit pname version;