diff options
author | Gabriel Ebner <gebner@gebner.org> | 2018-07-03 17:08:47 +0200 |
---|---|---|
committer | Gabriel Ebner <gebner@gebner.org> | 2018-07-03 17:08:47 +0200 |
commit | ebf4cfb272476e18b5036b7f4a5a307bc1ed7f63 (patch) | |
tree | 9cac04dda7d9ea316bc8b91d33fe028b1824b1e8 /pkgs/applications/misc/khard | |
parent | 99e0f93aaca6140d60872b098008b07420bbadba (diff) |
khard: fix build
Copied the fix from #42782
Diffstat (limited to 'pkgs/applications/misc/khard')
-rw-r--r-- | pkgs/applications/misc/khard/default.nix | 22 |
1 files changed, 19 insertions, 3 deletions
diff --git a/pkgs/applications/misc/khard/default.nix b/pkgs/applications/misc/khard/default.nix index c626aaca66bd4..075640f702cb4 100644 --- a/pkgs/applications/misc/khard/default.nix +++ b/pkgs/applications/misc/khard/default.nix @@ -1,6 +1,22 @@ -{ stdenv, fetchurl, fetchFromGitHub, glibcLocales, python3Packages }: +{ stdenv, fetchurl, fetchFromGitHub, glibcLocales, python3 }: -python3Packages.buildPythonApplication rec { +let + python = python3.override { + packageOverrides = self: super: { + + # 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 { version = "0.12.2"; name = "khard-${version}"; namePrefix = ""; @@ -14,7 +30,7 @@ python3Packages.buildPythonApplication rec { LC_ALL = "en_US.UTF-8"; buildInputs = [ glibcLocales ]; - propagatedBuildInputs = with python3Packages; [ + propagatedBuildInputs = [ atomicwrites configobj vobject |