diff options
author | Damien Cassou <damien@cassou.me> | 2016-03-03 16:37:23 +0100 |
---|---|---|
committer | Damien Cassou <damien@cassou.me> | 2016-03-03 16:37:23 +0100 |
commit | 8a804dfbacc3212968e186776b7949c90d3e8d02 (patch) | |
tree | 0addf24ac1d0da8e0241a88d4c7f740f07607a4c /pkgs/applications/misc/khard | |
parent | 40c586b7ce2c559374df435f46d673baf711c543 (diff) | |
download | nixlib-8a804dfbacc3212968e186776b7949c90d3e8d02.tar nixlib-8a804dfbacc3212968e186776b7949c90d3e8d02.tar.gz nixlib-8a804dfbacc3212968e186776b7949c90d3e8d02.tar.bz2 nixlib-8a804dfbacc3212968e186776b7949c90d3e8d02.tar.lz nixlib-8a804dfbacc3212968e186776b7949c90d3e8d02.tar.xz nixlib-8a804dfbacc3212968e186776b7949c90d3e8d02.tar.zst nixlib-8a804dfbacc3212968e186776b7949c90d3e8d02.zip |
khard: force Python2
setup.py says that khard is only compatible with Python 2.
Diffstat (limited to 'pkgs/applications/misc/khard')
-rw-r--r-- | pkgs/applications/misc/khard/default.nix | 10 |
1 files 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"; |