pythonPackages.khal: 0.7.0 -> 0.8.2, fixes #15625

This commit is contained in:
Matthias Beyer 2016-05-22 18:34:14 +02:00 committed by Frederik Rietdijk
parent d7568495b5
commit 067aa3c10e

View File

@ -1,15 +1,19 @@
{ stdenv, fetchurl, pkgs, python3Packages }: { stdenv, fetchurl, pkgs, python3Packages }:
python3Packages.buildPythonApplication rec { with python3Packages;
version = "0.7.0";
buildPythonApplication rec {
version = "0.8.2";
name = "khal-${version}"; name = "khal-${version}";
src = fetchurl { src = fetchurl {
url = "mirror://pypi/k/khal/khal-${version}.tar.gz"; url = "mirror://pypi/k/khal/khal-${version}.tar.gz";
sha256 = "00llxj7cv31mjsx0j6zxmyi9s1q20yvfkn025xcy8cv1ylfwic66"; sha256 = "0ihclh3jsxhvq7azgdxbdzwbl7my30cdcg3g5ss5bpm4ivskrzzj";
}; };
propagatedBuildInputs = with python3Packages; [ LC_ALL = "en_US.UTF-8";
propagatedBuildInputs = [
atomicwrites atomicwrites
click click
configobj configobj
@ -23,8 +27,13 @@ python3Packages.buildPythonApplication rec {
tzlocal tzlocal
urwid urwid
pkginfo pkginfo
freezegun
]; ];
buildInputs = with python3Packages; [ setuptools_scm ]; buildInputs = [ setuptools_scm pytest pkgs.glibcLocales ];
checkPhase = ''
py.test
'';
meta = with stdenv.lib; { meta = with stdenv.lib; {
homepage = http://lostpackets.de/khal/; homepage = http://lostpackets.de/khal/;