1{ stdenv, buildPythonPackage, fetchPypi, numpy, scipy, scikitimage, opencv3, six }:
2
3buildPythonPackage rec {
4 pname = "imgaug";
5 version = "0.2.6";
6
7 src = fetchPypi {
8 inherit pname version;
9 sha256 = "1wy8ydkqq0jrwxwdv04q89n3gwsr9pjaspsbw26ipg5a5lnhb9c2";
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 };
29}