From 95578b07f7c75fb637dd11748fe3f7f26f7ebf2b Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Fri, 30 Jan 2015 17:02:05 +0100 Subject: [PATCH] khard: init at 0.4.0 --- pkgs/applications/misc/khard/default.nix | 29 ++++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 31 insertions(+) create mode 100644 pkgs/applications/misc/khard/default.nix diff --git a/pkgs/applications/misc/khard/default.nix b/pkgs/applications/misc/khard/default.nix new file mode 100644 index 000000000000..2eda8acf4b88 --- /dev/null +++ b/pkgs/applications/misc/khard/default.nix @@ -0,0 +1,29 @@ +{ stdenv, fetchurl, pkgs, pythonPackages }: + +pythonPackages.buildPythonPackage rec { + version = "0.4.0"; + name = "khard-${version}"; + namePrefix = ""; + + src = fetchurl { + url = "https://github.com/scheibler/khard/archive/v${version}.tar.gz"; + sha256 = "0xvg8725297faw5mk7ka4xjc968vq3ix7izd4vmsaqysl43gnh21"; + }; + + propagatedBuildInputs = with pythonPackages; [ + configobj + vobject + argparse + ]; + + buildInputs = with pythonPackages; [ + pkgs.vdirsyncer + ]; + + meta = { + homepage = https://github.com/scheibler/khard; + description = "Console carddav client"; + license = stdenv.lib.licenses.gpl3; + maintainers = with stdenv.lib.maintainers; [ matthiasbeyer ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 73cf8a6496ed..50d083ecafaf 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -11748,6 +11748,8 @@ let khal = callPackage ../applications/misc/khal { }; + khard = callPackage ../applications/misc/khard { }; + kid3 = callPackage ../applications/audio/kid3 { qt = qt4; };