python312Packages.icalevents: refactor

- remove unused input
- fix pname misuse
- modernize attr names
This commit is contained in:
natsukium 2024-09-10 10:47:22 +09:00
parent 51f8dfeeee
commit 3960718bd1
No known key found for this signature in database
GPG Key ID: 9EA45A31DB994C53

View File

@ -5,7 +5,6 @@
pythonOlder, pythonOlder,
pytestCheckHook, pytestCheckHook,
poetry-core, poetry-core,
datetime,
httplib2, httplib2,
icalendar, icalendar,
python-dateutil, python-dateutil,
@ -21,17 +20,16 @@ buildPythonPackage rec {
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "jazzband"; owner = "jazzband";
repo = pname; repo = "icalevents";
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-JX4j2CsEY/bHrD7Rb9ru3C4T2e94mpC369nDN6Cv/I0="; hash = "sha256-JX4j2CsEY/bHrD7Rb9ru3C4T2e94mpC369nDN6Cv/I0=";
}; };
nativeBuildInputs = [ build-system = [
poetry-core poetry-core
]; ];
propagatedBuildInputs = [ dependencies = [
datetime
httplib2 httplib2
icalendar icalendar
python-dateutil python-dateutil
@ -39,7 +37,6 @@ buildPythonPackage rec {
]; ];
pythonRelaxDeps = [ pythonRelaxDeps = [
"datetime"
"httplib2" "httplib2"
"icalendar" "icalendar"
"pytz" "pytz"