summary refs log tree commit diff
path: root/pkgs/development/python-modules/icalendar
diff options
context:
space:
mode:
authorChris Ostrouchov <chris.ostrouchov@gmail.com>2018-10-16 17:16:57 -0400
committerFrederik Rietdijk <freddyrietdijk@fridh.nl>2018-10-18 11:02:23 +0200
commit65db7eb208f623f1952954897ca643adf8890a92 (patch)
tree652325d48be2ece0a2b155df2fd616f6c2545211 /pkgs/development/python-modules/icalendar
parentdadd7546563db6e311f1116c4ae7d135bc2304ad (diff)
downloadnixpkgs-65db7eb208f623f1952954897ca643adf8890a92.tar
nixpkgs-65db7eb208f623f1952954897ca643adf8890a92.tar.gz
nixpkgs-65db7eb208f623f1952954897ca643adf8890a92.tar.bz2
nixpkgs-65db7eb208f623f1952954897ca643adf8890a92.tar.lz
nixpkgs-65db7eb208f623f1952954897ca643adf8890a92.tar.xz
nixpkgs-65db7eb208f623f1952954897ca643adf8890a92.tar.zst
nixpkgs-65db7eb208f623f1952954897ca643adf8890a92.zip
pythonPackages.icalendar: refactor move to python-modules
Diffstat (limited to 'pkgs/development/python-modules/icalendar')
-rw-r--r--pkgs/development/python-modules/icalendar/default.nix28
1 files changed, 28 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/icalendar/default.nix b/pkgs/development/python-modules/icalendar/default.nix
new file mode 100644
index 00000000000..b83785211f8
--- /dev/null
+++ b/pkgs/development/python-modules/icalendar/default.nix
@@ -0,0 +1,28 @@
+{ stdenv
+, buildPythonPackage
+, fetchPypi
+, setuptools
+, dateutil
+, pytz
+}:
+
+buildPythonPackage rec {
+  version = "3.9.0";
+  pname = "icalendar";
+
+  src = fetchPypi {
+    inherit pname version;
+    sha256 = "93d0b94eab23d08f62962542309916a9681f16de3d5eca1c75497f30f1b07792";
+  };
+
+  buildInputs = [ setuptools ];
+  propagatedBuildInputs = [ dateutil pytz ];
+
+  meta = with stdenv.lib; {
+    description = "A parser/generator of iCalendar files";
+    homepage = "http://icalendar.readthedocs.org/";
+    license = licenses.bsd2;
+    maintainers = with maintainers; [ olcai ];
+  };
+
+}