mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 17:33:09 +00:00
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:
parent
2924563f88
commit
ad91dca851
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user