python312Packages.pycron: refactor and remove nose

This commit is contained in:
natsukium
2024-05-21 09:04:05 +09:00
parent 150d2b9c76
commit afe46d2136
@@ -2,41 +2,40 @@
lib,
buildPythonPackage,
fetchFromGitHub,
udatetime,
pytz,
pendulum,
nose,
delorean,
coveralls,
setuptools,
arrow,
delorean,
pendulum,
pynose,
pytestCheckHook,
pytz,
udatetime,
}:
buildPythonPackage rec {
pname = "pycron";
version = "3.0.0";
format = "setuptools";
pyproject = true;
src = fetchFromGitHub {
owner = "kipe";
repo = pname;
repo = "pycron";
rev = version;
sha256 = "12hkqrdfg3jbqkmck8i00ssyaw1c4hhvdhjxkmh2gm9pd99z5bpv";
hash = "sha256-+67yU2o31SdgnV3CtiEkLHDltQYgosnqxEuO51rGE4o=";
};
build-system = [ setuptools ];
nativeCheckInputs = [
arrow
coveralls
delorean
nose
pendulum
pynose
pytestCheckHook
pytz
udatetime
];
checkPhase = ''
nosetests
'';
pythonImportsCheck = [ "pycron" ];
meta = with lib; {