about summary refs log tree commit diff
path: root/pkgs/development/python-modules/devtools
diff options
context:
space:
mode:
authorFabian Affolter <mail@fabian-affolter.ch>2021-11-06 13:56:22 +0100
committerFabian Affolter <mail@fabian-affolter.ch>2021-11-06 13:56:22 +0100
commitb688707a06342cbe7a11924cc2df10a3ae7c5370 (patch)
treef6ffd582e2c1d02d528c1c306bba86bfd1ee082a /pkgs/development/python-modules/devtools
parentecd529b078aae11ca3351adb7e7ce40657893d71 (diff)
python3Packages.devtools: add missing dependencies
Diffstat (limited to 'pkgs/development/python-modules/devtools')
-rw-r--r--pkgs/development/python-modules/devtools/default.nix34
1 files changed, 29 insertions, 5 deletions
diff --git a/pkgs/development/python-modules/devtools/default.nix b/pkgs/development/python-modules/devtools/default.nix
index fdb240dde8427..98f446315d913 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 ];
+  disabledTests = [
+    # Test for Windows32
+    "test_print_subprocess"
+  ];
 
-  pythonImportsCheck = [ "devtools" ];
+  pythonImportsCheck = [
+    "devtools"
+  ];
 
   meta = with lib; {
     description = "Python's missing debug print command and other development tools";