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";
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";