From 90b74276cbb82b1fb0a626cbbd3a31530916c2db Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Fri, 30 Jan 2015 16:57:29 +0100 Subject: [PATCH] Add package: khal --- pkgs/applications/misc/khal/default.nix | 34 +++++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 4 +++ 2 files changed, 38 insertions(+) create mode 100644 pkgs/applications/misc/khal/default.nix diff --git a/pkgs/applications/misc/khal/default.nix b/pkgs/applications/misc/khal/default.nix new file mode 100644 index 000000000000..85720f644831 --- /dev/null +++ b/pkgs/applications/misc/khal/default.nix @@ -0,0 +1,34 @@ +{ stdenv, fetchurl, pkgs, pythonPackages }: + +pythonPackages.buildPythonPackage rec { + version = "0.4.0"; + name = "khal-${version}"; + + src = fetchurl { + url = "https://github.com/geier/khal/archive/v${version}.tar.gz"; + sha256 = "0d32miq55cly4q3raxkw3xpq4d5y3hvzaqvy066nv35bdlpafxi1"; + }; + + propagatedBuildInputs = with pythonPackages; [ + atomicwrites + click + configobj + dateutil + icalendar + lxml + pkgs.vdirsyncer + pytz + pyxdg + requests_toolbelt + tzlocal + urwid + ]; + + meta = { + homepage = http://lostpackets.de/khal/; + description = "CLI calendar application"; + license = stdenv.lib.licenses.mit; + maintainers = with stdenv.lib.maintainers; [ matthiasbeyer ]; + }; +} + diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 4f00392005f6..200c9a5b83e7 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -10675,6 +10675,10 @@ let keymon = callPackage ../applications/video/key-mon { }; + khal = callPackage ../applications/misc/khal { + pythonPackages = python3Packages; + }; + kid3 = callPackage ../applications/audio/kid3 { qt = qt4; };