diff options
author | Matthias Beyer <mail@beyermatthias.de> | 2016-05-22 18:34:14 +0200 |
---|---|---|
committer | Frederik Rietdijk <fridh@fridh.nl> | 2016-05-28 11:20:08 +0200 |
commit | 067aa3c10ebfea7d1f91e1ad5fe0067d5636dad5 (patch) | |
tree | 5026b729904e6fc7162dd9dab80f9b964dd161c9 /pkgs/applications/misc/khal | |
parent | d7568495b53d2bd0becd14f8a116840f6ad1fd6f (diff) |
pythonPackages.khal: 0.7.0 -> 0.8.2, fixes #15625
Diffstat (limited to 'pkgs/applications/misc/khal')
-rw-r--r-- | pkgs/applications/misc/khal/default.nix | 19 |
1 files changed, 14 insertions, 5 deletions
diff --git a/pkgs/applications/misc/khal/default.nix b/pkgs/applications/misc/khal/default.nix index e1786cc1b08d5..f813e37cfbb07 100644 --- a/pkgs/applications/misc/khal/default.nix +++ b/pkgs/applications/misc/khal/default.nix @@ -1,15 +1,19 @@ { stdenv, fetchurl, pkgs, python3Packages }: -python3Packages.buildPythonApplication rec { - version = "0.7.0"; +with python3Packages; + +buildPythonApplication rec { + version = "0.8.2"; name = "khal-${version}"; src = fetchurl { url = "mirror://pypi/k/khal/khal-${version}.tar.gz"; - sha256 = "00llxj7cv31mjsx0j6zxmyi9s1q20yvfkn025xcy8cv1ylfwic66"; + sha256 = "0ihclh3jsxhvq7azgdxbdzwbl7my30cdcg3g5ss5bpm4ivskrzzj"; }; - propagatedBuildInputs = with python3Packages; [ + LC_ALL = "en_US.UTF-8"; + + propagatedBuildInputs = [ atomicwrites click configobj @@ -23,8 +27,13 @@ python3Packages.buildPythonApplication rec { tzlocal urwid pkginfo + freezegun ]; - buildInputs = with python3Packages; [ setuptools_scm ]; + buildInputs = [ setuptools_scm pytest pkgs.glibcLocales ]; + + checkPhase = '' + py.test + ''; meta = with stdenv.lib; { homepage = http://lostpackets.de/khal/; |