diff options
author | Robert Schütz <robert.schuetz@stud.uni-heidelberg.de> | 2018-06-29 19:01:56 +0200 |
---|---|---|
committer | Robert Schütz <robert.schuetz@stud.uni-heidelberg.de> | 2018-06-29 19:28:18 +0200 |
commit | 184f8cc054ca1244aa26819f44543b97c4e44faa (patch) | |
tree | 3b31c683db2e0a42643387437987ca6aee6cfbd3 /pkgs/servers/radicale | |
parent | 12cf9f7edad3e110900de037f4aa8cb046ec9029 (diff) |
radicale: pin python-dateutil==2.6.1
Diffstat (limited to 'pkgs/servers/radicale')
-rw-r--r-- | pkgs/servers/radicale/default.nix | 21 |
1 files changed, 18 insertions, 3 deletions
diff --git a/pkgs/servers/radicale/default.nix b/pkgs/servers/radicale/default.nix index 171fcc887d216..077192fbef0fd 100644 --- a/pkgs/servers/radicale/default.nix +++ b/pkgs/servers/radicale/default.nix @@ -1,11 +1,26 @@ -{ stdenv, fetchFromGitHub, python3Packages }: +{ stdenv, fetchFromGitHub, python3 }: let version = "2.1.9"; sha256 = "1sywxn7j9bq39qwq74h327crc44j9049cykai1alv44agx8s1nhz"; + + python = python3.override { + packageOverrides = self: super: { + + # https://github.com/eventable/vobject/issues/112 + python-dateutil = super.python-dateutil.overridePythonAttrs (oldAttrs: rec { + version = "2.6.1"; + src = oldAttrs.src.override { + inherit version; + sha256 = "891c38b2a02f5bb1be3e4793866c8df49c7d19baabf9c1bad62547e0b4866aca"; + }; + }); + + }; + }; in -python3Packages.buildPythonApplication { +python.pkgs.buildPythonApplication { name = "radicale-${version}"; inherit version; @@ -18,7 +33,7 @@ python3Packages.buildPythonApplication { doCheck = false; - propagatedBuildInputs = with python3Packages; [ + propagatedBuildInputs = with python.pkgs; [ vobject passlib pytz |