diff options
author | Matthew Bauer <mjbauer95@gmail.com> | 2018-07-05 20:13:47 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-05 20:13:47 -0400 |
commit | 9cd122a2c4c0780dafc254b20f172151005f319d (patch) | |
tree | 21bc97de1f7045afdb6fd176eda140cc5a36a9ee /pkgs/applications/misc/khard/default.nix | |
parent | f513d580b06c37ef516a9af18f68b7567e6a05fe (diff) | |
parent | 2f523dd9a48112d878b65877c8ea923c63321fb4 (diff) | |
download | nixlib-9cd122a2c4c0780dafc254b20f172151005f319d.tar nixlib-9cd122a2c4c0780dafc254b20f172151005f319d.tar.gz nixlib-9cd122a2c4c0780dafc254b20f172151005f319d.tar.bz2 nixlib-9cd122a2c4c0780dafc254b20f172151005f319d.tar.lz nixlib-9cd122a2c4c0780dafc254b20f172151005f319d.tar.xz nixlib-9cd122a2c4c0780dafc254b20f172151005f319d.tar.zst nixlib-9cd122a2c4c0780dafc254b20f172151005f319d.zip |
Merge pull request #43088 from matthewbauer/misc
Get rid of 2 unneeded packages
Diffstat (limited to 'pkgs/applications/misc/khard/default.nix')
-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 c626aaca66bd..075640f702cb 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 |