Robert Schütz
2025-03-12 12:18:16 -07:00
parent 33c9c8cb07
commit 593a1d334c
@@ -1,9 +1,10 @@
{
lib,
buildPythonPackage,
pythonOlder,
fetchFromGitHub,
setuptools,
git,
hatch-vcs,
hatchling,
icalendar,
python-dateutil,
tzdata,
@@ -16,20 +17,25 @@
buildPythonPackage rec {
pname = "recurring-ical-events";
version = "3.4.1";
disabled = pythonOlder "3.8";
version = "3.6.0";
pyproject = true;
src = fetchFromGitHub {
owner = "niccokunzmann";
repo = "python-recurring-ical-events";
tag = "v${version}";
hash = "sha256-JhGKowFtRJwLj/5J1lNpgMTl1d+oWsmV4wI3hfOW5io=";
hash = "sha256-wfp/ubFZv54z2d44hvG56xcCjGedYqW/zeNvaoPPJYE=";
};
build-system = [ setuptools ];
postPatch = ''
substituteInPlace pyproject.toml \
--replace 'dynamic = ["urls", "version"]' 'version = "${version}"'
'';
build-system = [
hatch-vcs
hatchling
];
dependencies = [
icalendar