{ lib, fetchFromGitHub, buildPythonPackage, pytestCheckHook, setuptools, typing-extensions, }: buildPythonPackage rec { pname = "cron-descriptor"; version = "2.2.1"; pyproject = true; src = fetchFromGitHub { owner = "Salamek"; repo = "cron-descriptor"; tag = version; hash = "sha256-V+NzYUg+8umSgUZmxIa4N2gJ0ojm3kyanJJx5JdV7e4="; }; build-system = [ setuptools ]; dependencies = [ typing-extensions ]; nativeCheckInputs = [ pytestCheckHook ]; pythonImportsCheck = [ "cron_descriptor" ]; meta = { description = "Library that converts cron expressions into human readable strings"; homepage = "https://github.com/Salamek/cron-descriptor"; changelog = "https://github.com/Salamek/cron-descriptor/releases/tag/${version}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ phaer ]; }; }