python3Packages.cron-descriptor: 1.4.5 -> 2.0.6

This commit is contained in:
Pui Yong Qing
2025-12-17 00:13:38 +08:00
parent 7066aa9d42
commit 83e2a400e6
@@ -2,33 +2,28 @@
lib,
fetchFromGitHub,
buildPythonPackage,
unittestCheckHook,
mock,
pytestCheckHook,
setuptools,
typing-extensions,
}:
buildPythonPackage rec {
pname = "cron-descriptor";
version = "1.4.5";
version = "2.0.6";
pyproject = true;
src = fetchFromGitHub {
owner = "Salamek";
repo = "cron-descriptor";
tag = version;
hash = "sha256-ElYma6RH2u1faIgOvGpMQA26dSIibWcO4mWU6NAA5PQ=";
hash = "sha256-f7TQ3wvcHrzefZowUvxl1T0LCGeCnvpPI/IZn4XcDa4=";
};
# remove tests_require, as we don't do linting anyways
postPatch = ''
sed -i "/'pep8\|flake8\|pep8-naming',/d" setup.py
'';
build-system = [ setuptools ];
nativeCheckInputs = [
mock
unittestCheckHook
pytestCheckHook
typing-extensions
];
pythonImportsCheck = [ "cron_descriptor" ];