mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-19 16:45:49 +01: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
1 changed files with 6 additions and 6 deletions
|
@ -2,18 +2,19 @@
|
||||||
|
|
||||||
with python3.pkgs; buildPythonApplication rec {
|
with python3.pkgs; buildPythonApplication rec {
|
||||||
pname = "khal";
|
pname = "khal";
|
||||||
version = "0.9.10";
|
version = "0.10.0";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "03h0j0d3xyqh98x5v2gv63wv3g91hip3vsaxvybsn5iz331d23h4";
|
sha256 = "1p49f3g25x900vk32spjbr2aipj12kcbhayny2vwhdpkjlv6k396";
|
||||||
};
|
};
|
||||||
|
|
||||||
LC_ALL = "en_US.UTF-8";
|
LC_ALL = "C.UTF-8";
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
atomicwrites
|
atomicwrites
|
||||||
click
|
click
|
||||||
|
click-log
|
||||||
configobj
|
configobj
|
||||||
dateutil
|
dateutil
|
||||||
icalendar
|
icalendar
|
||||||
|
@ -27,15 +28,14 @@ with python3.pkgs; buildPythonApplication rec {
|
||||||
pkginfo
|
pkginfo
|
||||||
freezegun
|
freezegun
|
||||||
];
|
];
|
||||||
nativeBuildInputs = [ setuptools_scm pkgs.glibcLocales ];
|
nativeBuildInputs = [ setuptools_scm ];
|
||||||
checkInputs = [ pytest ];
|
checkInputs = [ pytest ];
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
install -D misc/__khal $out/share/zsh/site-functions/__khal
|
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 = true;
|
||||||
doCheck = false;
|
|
||||||
|
|
||||||
checkPhase = ''
|
checkPhase = ''
|
||||||
py.test
|
py.test
|
||||||
|
|
Loading…
Reference in a new issue