git.iko.soy/typeable/nixpkgs
on master help sign in
pythonPackages.khal: 0.7.0 -> 0.8.2, fixes #15625
commit067aa3c10ebfea7d1f91e1ad5fe0067d5636dad5 authorMatthias Beyer <mail@beyermatthias.de> dateSun 22 May 2016, 18:34 (11 years ago) parentd756849
1 file changed+14−5
pkgs/applications/misc/khal/default.nix+14−5
pkgs/applications/misc/khal/default.nix+14−5
@@ -1,15 +1,19 @@
11{ stdenv, fetchurl, pkgs, python3Packages }:
22
3−python3Packages.buildPythonApplication rec {
4− version = "0.7.0";
3+with python3Packages;
4+
5+buildPythonApplication rec {
6+ version = "0.8.2";
57 name = "khal-${version}";
68
79 src = fetchurl {
810 url = "mirror://pypi/k/khal/khal-${version}.tar.gz";
9− sha256 = "00llxj7cv31mjsx0j6zxmyi9s1q20yvfkn025xcy8cv1ylfwic66";
11+ sha256 = "0ihclh3jsxhvq7azgdxbdzwbl7my30cdcg3g5ss5bpm4ivskrzzj";
1012 };
1113
12− propagatedBuildInputs = with python3Packages; [
14+ LC_ALL = "en_US.UTF-8";
15+
16+ propagatedBuildInputs = [
1317 atomicwrites
1418 click
1519 configobj
@@ -23,8 +27,13 @@ python3Packages.buildPythonApplication rec {
2327 tzlocal
2428 urwid
2529 pkginfo
30+ freezegun
2631 ];
27− buildInputs = with python3Packages; [ setuptools_scm ];
32+ buildInputs = [ setuptools_scm pytest pkgs.glibcLocales ];
33+
34+ checkPhase = ''
35+ py.test
36+ '';
2837
2938 meta = with stdenv.lib; {
3039 homepage = http://lostpackets.de/khal/;