From 340cadd97d925ad239b8c98a53a75d8c6e9d62d5 Mon Sep 17 00:00:00 2001 From: Frederik Rietdijk Date: Wed, 3 Jan 2018 14:33:50 +0100 Subject: [PATCH] python.pkgs.arrow: fix python 2 build --- pkgs/development/python-modules/arrow/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/development/python-modules/arrow/default.nix b/pkgs/development/python-modules/arrow/default.nix index 72b88d3e5573..374b82225a1a 100644 --- a/pkgs/development/python-modules/arrow/default.nix +++ b/pkgs/development/python-modules/arrow/default.nix @@ -18,6 +18,10 @@ buildPythonPackage rec { checkInputs = [ nose chai simplejson ]; propagatedBuildInputs = [ dateutil backports_functools_lru_cache ]; + postPatch = '' + substituteInPlace setup.py --replace "==1.2.1" "" + ''; + meta = with stdenv.lib; { description = "Python library for date manipulation"; license = "apache";