2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchPypi,
|
|
|
|
nose,
|
|
|
|
pytz,
|
|
|
|
six,
|
|
|
|
versiontools,
|
2020-04-24 23:36:52 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "sampledata";
|
|
|
|
version = "0.3.7";
|
2024-01-02 11:29:13 +00:00
|
|
|
format = "setuptools";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Sample Data generator for Python ";
|
|
|
|
homepage = "https://github.com/jespino/sampledata";
|
|
|
|
license = lib.licenses.bsd3;
|
|
|
|
};
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
sha256 = "1kx2j49lag30d32zhzsr50gl5b949wa4lcdap2filg0d07picsdh";
|
|
|
|
};
|
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
buildInputs = [
|
|
|
|
nose
|
|
|
|
versiontools
|
|
|
|
];
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
pytz
|
|
|
|
six
|
|
|
|
];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
# ERROR: test_image_path_from_directory (tests.tests.TestImageHelpers)
|
|
|
|
# ERROR: test_image_stream (tests.tests.TestImageHelpers)
|
2020-04-24 23:36:52 +00:00
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
checkPhase = ''
|
|
|
|
nosetests -e "TestImageHelpers"
|
|
|
|
'';
|
|
|
|
}
|