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