git.iko.soy/typeable/nixpkgs
on master help sign in
khard: fix build

Copied the fix from #42782

commitebf4cfb272476e18b5036b7f4a5a307bc1ed7f63 authorGabriel Ebner <gebner@gebner.org> dateTue 3 Jul 2018, 17:08 (8 years ago) parent99e0f93
1 file changed+19−3
pkgs/applications/misc/khard/default.nix+19−3
pkgs/applications/misc/khard/default.nix+19−3
@@ -1,6 +1,22 @@
1−{ stdenv, fetchurl, fetchFromGitHub, glibcLocales, python3Packages }:
1+{ stdenv, fetchurl, fetchFromGitHub, glibcLocales, python3 }:
22
3−python3Packages.buildPythonApplication rec {
3+let
4+ python = python3.override {
5+ packageOverrides = self: super: {
6+
7+ # https://github.com/pimutils/khal/issues/780
8+ python-dateutil = super.python-dateutil.overridePythonAttrs (oldAttrs: rec {
9+ version = "2.6.1";
10+ src = oldAttrs.src.override {
11+ inherit version;
12+ sha256 = "891c38b2a02f5bb1be3e4793866c8df49c7d19baabf9c1bad62547e0b4866aca";
13+ };
14+ });
15+
16+ };
17+ };
18+
19+in with python.pkgs; buildPythonApplication rec {
420 version = "0.12.2";
521 name = "khard-${version}";
622 namePrefix = "";
@@ -14,7 +30,7 @@ python3Packages.buildPythonApplication rec {
1430 LC_ALL = "en_US.UTF-8";
1531 buildInputs = [ glibcLocales ];
1632
17− propagatedBuildInputs = with python3Packages; [
33+ propagatedBuildInputs = [
1834 atomicwrites
1935 configobj
2036 vobject