khal: force Python3

Both the README and setup.py agree that khal is only compatible with
Python 3.
This commit is contained in:
Damien Cassou 2016-03-03 15:17:37 +01:00
parent 40c586b7ce
commit a0b1b032b6

View File

@ -1,6 +1,6 @@
{ stdenv, fetchurl, pkgs, pythonPackages }: { stdenv, fetchurl, pkgs, python3Packages }:
pythonPackages.buildPythonApplication rec { python3Packages.buildPythonApplication rec {
version = "0.7.0"; version = "0.7.0";
name = "khal-${version}"; name = "khal-${version}";
@ -9,7 +9,7 @@ pythonPackages.buildPythonApplication rec {
sha256 = "00llxj7cv31mjsx0j6zxmyi9s1q20yvfkn025xcy8cv1ylfwic66"; sha256 = "00llxj7cv31mjsx0j6zxmyi9s1q20yvfkn025xcy8cv1ylfwic66";
}; };
propagatedBuildInputs = with pythonPackages; [ propagatedBuildInputs = with python3Packages; [
atomicwrites atomicwrites
click click
configobj configobj
@ -22,7 +22,6 @@ pythonPackages.buildPythonApplication rec {
requests_toolbelt requests_toolbelt
tzlocal tzlocal
urwid urwid
python.modules.sqlite3
pkginfo pkginfo
]; ];