python310Packages.doit: 0.35.0 -> 0.36.0

This commit is contained in:
Jonas Heinrich 2022-07-27 11:58:39 +02:00 committed by Yt
parent 13879b71dc
commit bfa4829334

View file

@ -10,9 +10,13 @@
, pyinotify , pyinotify
, macfsevents , macfsevents
, toml , toml
, doit-py
, pyflakes
, configclass
, mergedict
}: }:
buildPythonPackage rec { let doit = buildPythonPackage rec {
pname = "doit"; pname = "doit";
version = "0.36.0"; version = "0.36.0";
@ -30,16 +34,25 @@ buildPythonPackage rec {
] ++ lib.optional stdenv.isLinux pyinotify ] ++ lib.optional stdenv.isLinux pyinotify
++ lib.optional stdenv.isDarwin macfsevents; ++ lib.optional stdenv.isDarwin macfsevents;
# hangs on darwin checkInputs = [
doCheck = !stdenv.isDarwin; configclass
doit-py
checkInputs = [ mock pytestCheckHook ]; mergedict
mock
disabledTests = [ pyflakes
# depends on doit-py, which has a circular dependency on doit pytestCheckHook
"test___main__.py"
]; ];
# escape infinite recursion with doit-py
doCheck = false;
passthru.tests = {
# hangs on darwin
check = doit.overridePythonAttrs (_: { doCheck = !stdenv.isDarwin; });
};
pythonImportsCheck = [ "doit" ];
meta = with lib; { meta = with lib; {
homepage = "https://pydoit.org/"; homepage = "https://pydoit.org/";
description = "A task management & automation tool"; description = "A task management & automation tool";
@ -53,4 +66,5 @@ buildPythonPackage rec {
''; '';
maintainers = with maintainers; [ pSub ]; maintainers = with maintainers; [ pSub ];
}; };
}
}; in doit