3
0
Fork 0
forked from mirrors/nixpkgs

radicale: pin python-dateutil==2.6.1

This commit is contained in:
Robert Schütz 2018-06-29 19:01:56 +02:00
parent 12cf9f7eda
commit 184f8cc054

View file

@ -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