diff options
author | Michael Weiss <dev.primeos@gmail.com> | 2019-09-14 17:42:11 +0200 |
---|---|---|
committer | Jon <jonringer@users.noreply.github.com> | 2019-10-27 15:21:14 -0700 |
commit | f2be56eedc5d9e62eba1770116b98b683ac3bed3 (patch) | |
tree | dd5baf0c872bd5c7872704a86fb98c844e4d5493 /pkgs/development/python-modules/ics | |
parent | da51ce27133034958bf5dfb6f834149cd3e8927c (diff) |
python37Packages.ics: init at 0.6
Diffstat (limited to 'pkgs/development/python-modules/ics')
-rw-r--r-- | pkgs/development/python-modules/ics/default.nix | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/ics/default.nix b/pkgs/development/python-modules/ics/default.nix new file mode 100644 index 0000000000000..20fb38b187c0f --- /dev/null +++ b/pkgs/development/python-modules/ics/default.nix @@ -0,0 +1,33 @@ +{ stdenv, buildPythonPackage, fetchFromGitHub, pythonOlder +, tatsu, arrow +, pytest-sugar, pytestpep8, pytest-flakes, pytestcov +}: + +buildPythonPackage rec { + pname = "ics"; + version = "0.6"; + + src = fetchFromGitHub { + owner = "C4ptainCrunch"; + repo = "ics.py"; + rev = "v${version}"; + sha256 = "02bs9wlh40p1n33jchrl2cdpsnm5hq84070by3b6gm0vmgz6gn5v"; + }; + + propagatedBuildInputs = [ tatsu arrow ]; + checkInputs = [ pytest-sugar pytestpep8 pytest-flakes pytestcov ]; + + disabled = pythonOlder "3.6"; + + meta = with stdenv.lib; { + description = "Pythonic and easy iCalendar library (RFC 5545)"; + longDescription = '' + Ics.py is a pythonic and easy iCalendar library. Its goals are to read and + write ics data in a developer friendly way. + ''; + homepage = "http://icspy.readthedocs.org/en/stable/"; + license = licenses.asl20; + maintainers = with maintainers; [ primeos ]; + }; + +} |