From a0b1b032b6345bdf7d738a4add8bfcb83a4f1103 Mon Sep 17 00:00:00 2001 From: Damien Cassou Date: Thu, 3 Mar 2016 15:17:37 +0100 Subject: [PATCH] khal: force Python3 Both the README and setup.py agree that khal is only compatible with Python 3. --- pkgs/applications/misc/khal/default.nix | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/pkgs/applications/misc/khal/default.nix b/pkgs/applications/misc/khal/default.nix index 52a4f0dee753..ab55e3618ec7 100644 --- a/pkgs/applications/misc/khal/default.nix +++ b/pkgs/applications/misc/khal/default.nix @@ -1,6 +1,6 @@ -{ stdenv, fetchurl, pkgs, pythonPackages }: +{ stdenv, fetchurl, pkgs, python3Packages }: -pythonPackages.buildPythonApplication rec { +python3Packages.buildPythonApplication rec { version = "0.7.0"; name = "khal-${version}"; @@ -9,7 +9,7 @@ pythonPackages.buildPythonApplication rec { sha256 = "00llxj7cv31mjsx0j6zxmyi9s1q20yvfkn025xcy8cv1ylfwic66"; }; - propagatedBuildInputs = with pythonPackages; [ + propagatedBuildInputs = with python3Packages; [ atomicwrites click configobj @@ -22,7 +22,6 @@ pythonPackages.buildPythonApplication rec { requests_toolbelt tzlocal urwid - python.modules.sqlite3 pkginfo ];