3
0
Fork 0
forked from mirrors/nixpkgs

khal: 0.9.10 -> 0.10.0

https://github.com/pimutils/khal/releases/tag/v0.10.0

* new dep, click-log
* enable tests (pass!)

Release notes mention 'only dateutil < 2.7 is supported',
which may be a problem as ours is currently 2.8.

There's a history of python-dateutil version particularity
in previous releases (such as 0.9.10 upgrading from),
unsure if should override to older or if it's just a suggestion.
This commit is contained in:
Will Dietz 2019-03-25 19:14:30 -05:00
parent 2924563f88
commit ad91dca851

View file

@ -2,18 +2,19 @@
with python3.pkgs; buildPythonApplication rec {
pname = "khal";
version = "0.9.10";
version = "0.10.0";
src = fetchPypi {
inherit pname version;
sha256 = "03h0j0d3xyqh98x5v2gv63wv3g91hip3vsaxvybsn5iz331d23h4";
sha256 = "1p49f3g25x900vk32spjbr2aipj12kcbhayny2vwhdpkjlv6k396";
};
LC_ALL = "en_US.UTF-8";
LC_ALL = "C.UTF-8";
propagatedBuildInputs = [
atomicwrites
click
click-log
configobj
dateutil
icalendar
@ -27,15 +28,14 @@ with python3.pkgs; buildPythonApplication rec {
pkginfo
freezegun
];
nativeBuildInputs = [ setuptools_scm pkgs.glibcLocales ];
nativeBuildInputs = [ setuptools_scm ];
checkInputs = [ pytest ];
postInstall = ''
install -D misc/__khal $out/share/zsh/site-functions/__khal
'';
# One test fails as of 0.9.10 due to the upgrade to icalendar 4.0.3
doCheck = false;
doCheck = true;
checkPhase = ''
py.test