about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFrederik Rietdijk <fridh@fridh.nl>2018-01-03 14:33:50 +0100
committerFrederik Rietdijk <fridh@fridh.nl>2018-01-03 14:34:06 +0100
commit340cadd97d925ad239b8c98a53a75d8c6e9d62d5 (patch)
treee82d0e532d815d31f04ecc90960642788021bace
parentc3754a785fd43d59b8574cf1edc6bddafde31e22 (diff)
downloadnixlib-340cadd97d925ad239b8c98a53a75d8c6e9d62d5.tar
nixlib-340cadd97d925ad239b8c98a53a75d8c6e9d62d5.tar.gz
nixlib-340cadd97d925ad239b8c98a53a75d8c6e9d62d5.tar.bz2
nixlib-340cadd97d925ad239b8c98a53a75d8c6e9d62d5.tar.lz
nixlib-340cadd97d925ad239b8c98a53a75d8c6e9d62d5.tar.xz
nixlib-340cadd97d925ad239b8c98a53a75d8c6e9d62d5.tar.zst
nixlib-340cadd97d925ad239b8c98a53a75d8c6e9d62d5.zip
python.pkgs.arrow: fix python 2 build
-rw-r--r--pkgs/development/python-modules/arrow/default.nix4
1 files changed, 4 insertions, 0 deletions
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";