forked from mirrors/nixpkgs
khard: force Python2
setup.py says that khard is only compatible with Python 2.
This commit is contained in:
parent
40c586b7ce
commit
8a804dfbac
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue