python3Packages.devtools: add missing dependencies

This commit is contained in:
Fabian Affolter 2021-11-06 13:56:22 +01:00
parent ecd529b078
commit b688707a06

View file

@ -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";