From a8458cb091cbb31f5a0b91a82da55068d68c1269 Mon Sep 17 00:00:00 2001 From: Damien Cassou Date: Wed, 21 Jan 2015 18:52:05 +0100 Subject: [PATCH] pycarddav + vobject --- pkgs/top-level/python-packages.nix | 40 ++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index c9079257c7f5..f73a1919643a 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -7442,6 +7442,46 @@ let }; }; + vobject = buildPythonPackage rec { + version = "0.8.1c"; + name = "vobject-${version}"; + + src = pkgs.fetchurl { + url = "https://pypi.python.org/packages/source/v/vobject/vobject-${version}.tar.gz"; + sha256 = "1xanqn7rn96841s3lim5lnx5743gc4kyfg4ggj1ys5r0gw8i6har"; + }; + + propagatedBuildInputs = with self; [ dateutil ]; + + meta = with stdenv.lib; { + description = "Module for reading vCard and vCalendar files"; + homepage = http://vobject.skyhouseconsulting.com/; + license = licenses.apache; + maintainers = [ maintainers.DamienCassou ]; + }; + }; + + pycarddav = buildPythonPackage rec { + version = "0.7.0"; + name = "pycarddav-${version}"; + + src = pkgs.fetchurl { + url = "https://pypi.python.org/packages/source/p/pyCardDAV/pyCardDAV-${version}.tar.gz"; + sha256 = "0avkrcpisfvhz103v7vmq2jd83hvmpqrb4mlbx6ikkk1wcvclsx8"; + }; + + disabled = isPy3k; + + propagatedBuildInputs = with self; [ sqlite3 vobject lxml requests urwid pyxdg ]; + + meta = with stdenv.lib; { + description = "Command-line interface carddav client"; + homepage = http://lostpackets.de/pycarddav; + license = licenses.mit; + maintainers = [ maintainers.DamienCassou ]; + }; + }; + pycosat = pythonPackages.buildPythonPackage rec { name = "pycosat-0.6.0";