2021-01-25 09:26:54 +01:00
|
|
|
{ lib
|
2018-10-16 23:16:57 +02:00
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, setuptools
|
2021-07-03 13:37:24 +02:00
|
|
|
, python-dateutil
|
2018-10-16 23:16:57 +02:00
|
|
|
, pytz
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2020-09-30 21:19:41 +02:00
|
|
|
version = "4.0.7";
|
2018-10-16 23:16:57 +02:00
|
|
|
pname = "icalendar";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-09-30 21:19:41 +02:00
|
|
|
sha256 = "0fc18d87f66e0b5da84fa731389496cfe18e4c21304e8f6713556b2e8724a7a4";
|
2018-10-16 23:16:57 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ setuptools ];
|
2021-07-03 13:37:24 +02:00
|
|
|
propagatedBuildInputs = [ python-dateutil pytz ];
|
2018-10-16 23:16:57 +02:00
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2018-10-16 23:16:57 +02:00
|
|
|
description = "A parser/generator of iCalendar files";
|
2019-04-22 10:24:21 +02:00
|
|
|
homepage = "https://icalendar.readthedocs.org/";
|
2018-10-16 23:16:57 +02:00
|
|
|
license = licenses.bsd2;
|
|
|
|
maintainers = with maintainers; [ olcai ];
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|