Skip to content

Commit

Permalink
python.pkgs.arrow: fix python 2 build
Browse files Browse the repository at this point in the history
  • Loading branch information
FRidh committed Jan 3, 2018
1 parent c3754a7 commit 340cadd
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pkgs/development/python-modules/arrow/default.nix
Expand Up @@ -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";
Expand Down

0 comments on commit 340cadd

Please sign in to comment.