diff --git a/pkgs/development/python-modules/devtools/default.nix b/pkgs/development/python-modules/devtools/default.nix index fdb240dde842..98f446315d91 100644 --- a/pkgs/development/python-modules/devtools/default.nix +++ b/pkgs/development/python-modules/devtools/default.nix @@ -1,9 +1,19 @@ -{ buildPythonPackage, pythonOlder, fetchFromGitHub, lib, pygments -, pytestCheckHook, pytest-mock }: +{ lib +, asttokens +, buildPythonPackage +, executing +, fetchFromGitHub +, pygments +, pytest-mock +, pytestCheckHook +, pythonOlder +}: buildPythonPackage rec { pname = "devtools"; version = "0.8.0"; + format = "setuptools"; + disabled = pythonOlder "3.6"; src = fetchFromGitHub { @@ -13,11 +23,25 @@ buildPythonPackage rec { sha256 = "0yavcbxzxi1nfa1k326gsl03y8sadi5z5acamwd8b1bsiv15p757"; }; - propagatedBuildInputs = [ pygments ]; + propagatedBuildInputs = [ + asttokens + executing + pygments + ]; - checkInputs = [ pytestCheckHook pytest-mock ]; + checkInputs = [ + pytestCheckHook + pytest-mock + ]; - pythonImportsCheck = [ "devtools" ]; + disabledTests = [ + # Test for Windows32 + "test_print_subprocess" + ]; + + pythonImportsCheck = [ + "devtools" + ]; meta = with lib; { description = "Python's missing debug print command and other development tools";