From 8a804dfbacc3212968e186776b7949c90d3e8d02 Mon Sep 17 00:00:00 2001 From: Damien Cassou Date: Thu, 3 Mar 2016 16:37:23 +0100 Subject: [PATCH] khard: force Python2 setup.py says that khard is only compatible with Python 2. --- pkgs/applications/misc/khard/default.nix | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/pkgs/applications/misc/khard/default.nix b/pkgs/applications/misc/khard/default.nix index a10d434a70d3..679dc10291a7 100644 --- a/pkgs/applications/misc/khard/default.nix +++ b/pkgs/applications/misc/khard/default.nix @@ -1,6 +1,6 @@ -{ stdenv, fetchurl, pkgs, pythonPackages }: +{ stdenv, fetchurl, pkgs, python2Packages }: -pythonPackages.buildPythonApplication rec { +python2Packages.buildPythonApplication rec { version = "0.8.1"; name = "khard-${version}"; namePrefix = ""; @@ -10,7 +10,7 @@ pythonPackages.buildPythonApplication rec { sha256 = "13axfrs96isirx0c483545xdmjwwfq1k7yy92xpk7l184v71rgi1"; }; - propagatedBuildInputs = with pythonPackages; [ + propagatedBuildInputs = with python2Packages; [ atomicwrites configobj vobject @@ -18,10 +18,6 @@ pythonPackages.buildPythonApplication rec { pyyaml ]; - buildInputs = with pythonPackages; [ - pkgs.vdirsyncer - ]; - meta = { homepage = https://github.com/scheibler/khard; description = "Console carddav client";