pythonPackages.faker: 0.8.8 -> 0.8.11

This fixes the build failure by adding a missing dependency and because 0.8.11 allows a newer version of ukpostcodeparser.
This commit is contained in:
Robert Schütz 2018-02-20 22:41:01 +01:00
parent 35ee24f966
commit 495bb794d1

View File

@ -1,6 +1,6 @@
{ lib, buildPythonPackage, fetchPypi, pythonOlder, { lib, buildPythonPackage, fetchPypi, pythonOlder,
# Build inputs # Build inputs
dateutil, six, ipaddress ? null, dateutil, six, text-unidecode, ipaddress ? null,
# Test inputs # Test inputs
email_validator, nose, mock, ukpostcodeparser }: email_validator, nose, mock, ukpostcodeparser }:
@ -8,12 +8,11 @@ assert pythonOlder "3.3" -> ipaddress != null;
buildPythonPackage rec { buildPythonPackage rec {
pname = "Faker"; pname = "Faker";
version = "0.8.8"; version = "0.8.11";
name = "${pname}-${version}";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "e928cf853ef69d7471421f2a3716a1239e43de0fa9855f4016ee0c9f1057328a"; sha256 = "126kdy6lj10rwgchzz0lzjabx0zcyskamhn0qib67k69fcksjmq8";
}; };
checkInputs = [ checkInputs = [
@ -26,6 +25,7 @@ buildPythonPackage rec {
propagatedBuildInputs = [ propagatedBuildInputs = [
dateutil dateutil
six six
text-unidecode
] ++ lib.optional (pythonOlder "3.3") ipaddress; ] ++ lib.optional (pythonOlder "3.3") ipaddress;
meta = with lib; { meta = with lib; {