python.pkgs.pendulum: fix propagatedBuildInputs

This commit is contained in:
Robert Schütz 2018-06-29 19:50:14 +02:00
parent 9ebfa7bede
commit aa11e10977

View File

@ -1,4 +1,5 @@
{ stdenv, fetchPypi, buildPythonPackage, dateutil, pytzdata, tzlocal }: { lib, fetchPypi, buildPythonPackage, pythonOlder
, dateutil, pytzdata, typing }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "pendulum"; pname = "pendulum";
@ -9,12 +10,12 @@ buildPythonPackage rec {
sha256 = "544e44d8a92954e5ef4db4fa8b662d3282f2ac7b7c2cbf4227dc193ba78b9e1e"; sha256 = "544e44d8a92954e5ef4db4fa8b662d3282f2ac7b7c2cbf4227dc193ba78b9e1e";
}; };
propagatedBuildInputs = [ dateutil pytzdata tzlocal ]; propagatedBuildInputs = [ dateutil pytzdata ] ++ lib.optional (pythonOlder "3.5") typing;
# No tests # No tests
doCheck = false; doCheck = false;
meta = with stdenv.lib; { meta = with lib; {
description = "Python datetimes made easy"; description = "Python datetimes made easy";
homepage = https://github.com/sdispater/pendulum; homepage = https://github.com/sdispater/pendulum;
license = licenses.mit; license = licenses.mit;