2018-10-16 22:16:57 +01:00
|
|
|
{ stdenv
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, setuptools
|
|
|
|
, dateutil
|
|
|
|
, pytz
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2018-10-24 17:16:15 +01:00
|
|
|
version = "4.0.3";
|
2018-10-16 22:16:57 +01:00
|
|
|
pname = "icalendar";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-10-24 17:16:15 +01:00
|
|
|
sha256 = "0mk3dk1dxkcm46jy48v27j2w2349iv4sbimqj1yb5js43mx49hh7";
|
2018-10-16 22:16:57 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ setuptools ];
|
|
|
|
propagatedBuildInputs = [ dateutil pytz ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "A parser/generator of iCalendar files";
|
2019-04-22 09:24:21 +01:00
|
|
|
homepage = "https://icalendar.readthedocs.org/";
|
2018-10-16 22:16:57 +01:00
|
|
|
license = licenses.bsd2;
|
|
|
|
maintainers = with maintainers; [ olcai ];
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|