summary refs log tree commit diff
path: root/pkgs/development/python-modules/ics/default.nix
diff options
context:
space:
mode:
authorMichael Weiss <dev.primeos@gmail.com>2019-09-14 17:42:11 +0200
committerJon <jonringer@users.noreply.github.com>2019-10-27 15:21:14 -0700
commitf2be56eedc5d9e62eba1770116b98b683ac3bed3 (patch)
treedd5baf0c872bd5c7872704a86fb98c844e4d5493 /pkgs/development/python-modules/ics/default.nix
parentda51ce27133034958bf5dfb6f834149cd3e8927c (diff)
downloadnixpkgs-f2be56eedc5d9e62eba1770116b98b683ac3bed3.tar
nixpkgs-f2be56eedc5d9e62eba1770116b98b683ac3bed3.tar.gz
nixpkgs-f2be56eedc5d9e62eba1770116b98b683ac3bed3.tar.bz2
nixpkgs-f2be56eedc5d9e62eba1770116b98b683ac3bed3.tar.lz
nixpkgs-f2be56eedc5d9e62eba1770116b98b683ac3bed3.tar.xz
nixpkgs-f2be56eedc5d9e62eba1770116b98b683ac3bed3.tar.zst
nixpkgs-f2be56eedc5d9e62eba1770116b98b683ac3bed3.zip
python37Packages.ics: init at 0.6
Diffstat (limited to 'pkgs/development/python-modules/ics/default.nix')
-rw-r--r--pkgs/development/python-modules/ics/default.nix33
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 00000000000..20fb38b187c
--- /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 ];
+  };
+
+}