nixpkgs/pkgs/development/python-modules/icalendar/default.nix
2020-09-30 23:22:44 -07:00

29 lines
583 B
Nix

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