khal: pin python-dateutil==2.6.1

This commit is contained in:
Robert Schütz 2018-06-29 18:57:30 +02:00
parent 38094de6b6
commit 12cf9f7eda

View File

@ -1,8 +1,22 @@
{ stdenv, pkgs, python3Packages }:
{ stdenv, pkgs, python3 }:
with python3Packages;
let
python = python3.override {
packageOverrides = self: super: {
buildPythonApplication rec {
# https://github.com/pimutils/khal/issues/780
python-dateutil = super.python-dateutil.overridePythonAttrs (oldAttrs: rec {
version = "2.6.1";
src = oldAttrs.src.override {
inherit version;
sha256 = "891c38b2a02f5bb1be3e4793866c8df49c7d19baabf9c1bad62547e0b4866aca";
};
});
};
};
in with python.pkgs; buildPythonApplication rec {
pname = "khal";
version = "0.9.9";
@ -29,10 +43,11 @@ buildPythonApplication rec {
pkginfo
freezegun
];
buildInputs = [ setuptools_scm pytest pkgs.glibcLocales ];
nativeBuildInputs = [ setuptools_scm pkgs.glibcLocales ];
checkInputs = [ pytest ];
checkPhase = ''
# py.test
py.test
'';
meta = with stdenv.lib; {