about summary refs log tree commit diff
path: root/pkgs/applications/misc/khard
diff options
context:
space:
mode:
authorGabriel Ebner <gebner@gebner.org>2016-07-31 10:14:13 +0200
committerGabriel Ebner <gebner@gebner.org>2016-07-31 10:14:13 +0200
commitb714fdb5746f57c26a41ced7b8641ac298456fa0 (patch)
tree345e0b4ba59a487402ce486315a0adf481478ca8 /pkgs/applications/misc/khard
parent4db39e8d0f397237f32fbf51af9156ae9e482c71 (diff)
khard: 0.9.0 -> 0.11.1
Diffstat (limited to 'pkgs/applications/misc/khard')
-rw-r--r--pkgs/applications/misc/khard/default.nix17
1 files changed, 12 insertions, 5 deletions
diff --git a/pkgs/applications/misc/khard/default.nix b/pkgs/applications/misc/khard/default.nix
index c6aad7194a2b8..2a6329b48d761 100644
--- a/pkgs/applications/misc/khard/default.nix
+++ b/pkgs/applications/misc/khard/default.nix
@@ -1,16 +1,20 @@
-{ stdenv, fetchurl, pkgs, python2Packages }:
+{ stdenv, fetchurl, glibcLocales, python3Packages }:
 
-python2Packages.buildPythonApplication rec {
-  version = "0.9.0";
+python3Packages.buildPythonApplication rec {
+  version = "0.11.1";
   name = "khard-${version}";
   namePrefix = "";
 
   src = fetchurl {
     url = "https://github.com/scheibler/khard/archive/v${version}.tar.gz";
-    sha256 = "1cj6rlvbk05cfjkl1lnyvq12sb847jjwqy5j8906p2b2x4wq72qi";
+    sha256 = "0055xx9icmsr6l7v0iqrndmygygdpdv10550w6pyrb96svzhry27";
   };
 
-  propagatedBuildInputs = with python2Packages; [
+  # setup.py reads the UTF-8 encoded readme.
+  LC_ALL = "en_US.UTF-8";
+  buildInputs = [ glibcLocales ];
+
+  propagatedBuildInputs = with python3Packages; [
     atomicwrites
     configobj
     vobject
@@ -18,6 +22,9 @@ python2Packages.buildPythonApplication rec {
     pyyaml
   ];
 
+  # Fails; but there are no tests anyway.
+  doCheck = false;
+
   meta = {
     homepage = https://github.com/scheibler/khard;
     description = "Console carddav client";