Merge pull request #42782 from dotlambda/dateutil-2.7-fixes
Fix packages broken by python-dateutil bump
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
{ stdenv, fetchPypi, buildPythonPackage, dateutil, pytzdata, tzlocal }:
|
||||
{ lib, fetchPypi, buildPythonPackage, pythonOlder
|
||||
, dateutil, pytzdata, typing }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pendulum";
|
||||
@@ -9,12 +10,12 @@ buildPythonPackage rec {
|
||||
sha256 = "544e44d8a92954e5ef4db4fa8b662d3282f2ac7b7c2cbf4227dc193ba78b9e1e";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ dateutil pytzdata tzlocal ];
|
||||
propagatedBuildInputs = [ dateutil pytzdata ] ++ lib.optional (pythonOlder "3.5") typing;
|
||||
|
||||
# No tests
|
||||
doCheck = false;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
description = "Python datetimes made easy";
|
||||
homepage = https://github.com/sdispater/pendulum;
|
||||
license = licenses.mit;
|
||||
|
||||
@@ -28,6 +28,9 @@ buildPythonPackage rec {
|
||||
py.test
|
||||
'';
|
||||
|
||||
# https://github.com/kevin1024/pytest-httpbin/pull/51
|
||||
doCheck = false;
|
||||
|
||||
meta = {
|
||||
description = "Easily test your HTTP library against a local copy of httpbin.org";
|
||||
homepage = https://github.com/kevin1024/pytest-httpbin;
|
||||
|
||||
Reference in New Issue
Block a user