3
0
Fork 0
forked from mirrors/nixpkgs

khard: force Python2

setup.py says that khard is only compatible with
Python 2.
This commit is contained in:
Damien Cassou 2016-03-03 16:37:23 +01:00
parent 40c586b7ce
commit 8a804dfbac

View file

@ -1,6 +1,6 @@
{ stdenv, fetchurl, pkgs, pythonPackages }: { stdenv, fetchurl, pkgs, python2Packages }:
pythonPackages.buildPythonApplication rec { python2Packages.buildPythonApplication rec {
version = "0.8.1"; version = "0.8.1";
name = "khard-${version}"; name = "khard-${version}";
namePrefix = ""; namePrefix = "";
@ -10,7 +10,7 @@ pythonPackages.buildPythonApplication rec {
sha256 = "13axfrs96isirx0c483545xdmjwwfq1k7yy92xpk7l184v71rgi1"; sha256 = "13axfrs96isirx0c483545xdmjwwfq1k7yy92xpk7l184v71rgi1";
}; };
propagatedBuildInputs = with pythonPackages; [ propagatedBuildInputs = with python2Packages; [
atomicwrites atomicwrites
configobj configobj
vobject vobject
@ -18,10 +18,6 @@ pythonPackages.buildPythonApplication rec {
pyyaml pyyaml
]; ];
buildInputs = with pythonPackages; [
pkgs.vdirsyncer
];
meta = { meta = {
homepage = https://github.com/scheibler/khard; homepage = https://github.com/scheibler/khard;
description = "Console carddav client"; description = "Console carddav client";