Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

python2Packages.arrow: keep 0.17.0

+42
+40
pkgs/development/python-modules/arrow/2.nix
···
··· 1 + { lib, buildPythonPackage, fetchPypi, isPy27 2 + , nose, chai, simplejson, backports_functools_lru_cache 3 + , python-dateutil, pytz, pytest-mock, sphinx, dateparser, pytestcov 4 + , pytestCheckHook 5 + }: 6 + 7 + buildPythonPackage rec { 8 + pname = "arrow"; 9 + version = "0.17.0"; 10 + 11 + src = fetchPypi { 12 + inherit pname version; 13 + sha256 = "ff08d10cda1d36c68657d6ad20d74fbea493d980f8b2d45344e00d6ed2bf6ed4"; 14 + }; 15 + 16 + propagatedBuildInputs = [ python-dateutil ] 17 + ++ lib.optionals isPy27 [ backports_functools_lru_cache ]; 18 + 19 + checkInputs = [ 20 + dateparser 21 + pytestCheckHook 22 + pytestcov 23 + pytest-mock 24 + pytz 25 + simplejson 26 + sphinx 27 + ]; 28 + 29 + # ParserError: Could not parse timezone expression "America/Nuuk" 30 + disabledTests = [ 31 + "test_parse_tz_name_zzz" 32 + ]; 33 + 34 + meta = with lib; { 35 + description = "Python library for date manipulation"; 36 + homepage = "https://github.com/crsmithdev/arrow"; 37 + license = licenses.asl20; 38 + maintainers = with maintainers; [ thoughtpolice ]; 39 + }; 40 + }
+2
pkgs/top-level/python2-packages.nix
··· 8 9 appleseed = toPythonModule (pkgs.appleseed.override { inherit (self) python; }); 10 11 astroid = callPackage ../development/python-modules/astroid/1.6.nix { }; 12 13 browsermob-proxy = callPackage ../development/python-modules/browsermob-proxy { };
··· 8 9 appleseed = toPythonModule (pkgs.appleseed.override { inherit (self) python; }); 10 11 + arrow = callPackage ../development/python-modules/arrow/2.nix { }; 12 + 13 astroid = callPackage ../development/python-modules/astroid/1.6.nix { }; 14 15 browsermob-proxy = callPackage ../development/python-modules/browsermob-proxy { };