2017-08-31 20:23:18 +01:00
|
|
|
{ lib, buildPythonPackage, fetchPypi,
|
|
|
|
django, nose, pillow, sampledata, six, versiontools
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "django-sampledatahelper";
|
2020-06-06 07:47:05 +01:00
|
|
|
version = "0.5";
|
2017-08-31 20:23:18 +01:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Helper class for generate sample data for django apps development";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/kaleidos/django-sampledatahelper";
|
2017-08-31 20:23:18 +01:00
|
|
|
license = lib.licenses.bsd3;
|
|
|
|
};
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-06-06 07:47:05 +01:00
|
|
|
sha256 = "3fbc5533f1055f9d1944097f6271e8b18fcf4ed5cc582b518616445145300015";
|
2017-08-31 20:23:18 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ django nose pillow sampledata six versiontools ];
|
|
|
|
propagatedBuildInputs = [ django sampledata ];
|
|
|
|
|
|
|
|
# HACK To prevent collision with pythonPackages.sampledata
|
|
|
|
preBuild = ''
|
|
|
|
rm tests/*
|
|
|
|
'';
|
|
|
|
|
|
|
|
# ERROR: test_image_from_directory (tests.tests.TestImageHelpers)
|
|
|
|
doCheck = false;
|
|
|
|
}
|