1{ stdenv, buildPythonPackage, fetchPypi, numpy, scipy, scikitimage, opencv3, six }:
2
3buildPythonPackage rec {
4 pname = "imgaug";
5 version = "0.2.9";
6
7 src = fetchPypi {
8 inherit pname version;
9 sha256 = "42b0c4c8cbe197d4f5dbd33960a1140f8a0d9c22c0a8851306ecbbc032092de8";
10 };
11
12 propagatedBuildInputs = [
13 numpy
14 scipy
15 scikitimage
16 opencv3
17 six
18 ];
19
20 # disable tests when there are no tests in the PyPI archive
21 doCheck = false;
22
23 meta = with stdenv.lib; {
24 homepage = https://github.com/aleju/imgaug;
25 description = "Image augmentation for machine learning experiments";
26 license = licenses.mit;
27 maintainers = with maintainers; [ cmcdragonkai ];
28 broken = true; # opencv-python bindings aren't available yet, and look non-trivial
29 };
30}