nixpkgs/pkgs/development/python-modules/icalendar/default.nix
2021-10-08 07:44:05 +00:00

29 lines
587 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, setuptools
, python-dateutil
, pytz
}:
buildPythonPackage rec {
version = "4.0.8";
pname = "icalendar";
src = fetchPypi {
inherit pname version;
sha256 = "7508a92b4e36049777640b0ae393e7219a16488d852841a0e57b44fe51d9f848";
};
buildInputs = [ setuptools ];
propagatedBuildInputs = [ python-dateutil pytz ];
meta = with lib; {
description = "A parser/generator of iCalendar files";
homepage = "https://icalendar.readthedocs.org/";
license = licenses.bsd2;
maintainers = with maintainers; [ olcai ];
};
}