1{ lib, buildPythonPackage, fetchPypi,
2 nose, pytz, six, versiontools
3}:
4
5buildPythonPackage rec {
6 pname = "sampledata";
7 version = "0.3.7";
8
9 meta = {
10 description = "Sample Data generator for Python ";
11 homepage = "https://github.com/jespino/sampledata";
12 license = lib.licenses.bsd3;
13 };
14
15 src = fetchPypi {
16 inherit pname version;
17 sha256 = "1kx2j49lag30d32zhzsr50gl5b949wa4lcdap2filg0d07picsdh";
18 };
19
20 buildInputs = [ nose versiontools ];
21 propagatedBuildInputs = [ pytz six ];
22
23# ERROR: test_image_path_from_directory (tests.tests.TestImageHelpers)
24# ERROR: test_image_stream (tests.tests.TestImageHelpers)
25 doCheck = false;
26
27 checkPhase = ''
28 nosetests -e "TestImageHelpers"
29 '';
30}