diff options
Diffstat (limited to 'pkgs/development/python-modules/imgaug/default.nix')
-rw-r--r-- | pkgs/development/python-modules/imgaug/default.nix | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/imgaug/default.nix b/pkgs/development/python-modules/imgaug/default.nix new file mode 100644 index 00000000000..08f1d49d8c6 --- /dev/null +++ b/pkgs/development/python-modules/imgaug/default.nix @@ -0,0 +1,29 @@ +{ stdenv, buildPythonPackage, fetchPypi, numpy, scipy, scikitimage, opencv3, six }: + +buildPythonPackage rec { + pname = "imgaug"; + version = "0.2.6"; + + src = fetchPypi { + inherit pname version; + sha256 = "1wy8ydkqq0jrwxwdv04q89n3gwsr9pjaspsbw26ipg5a5lnhb9c2"; + }; + + propagatedBuildInputs = [ + numpy + scipy + scikitimage + opencv3 + six + ]; + + # disable tests when there are no tests in the PyPI archive + doCheck = false; + + meta = with stdenv.lib; { + homepage = https://github.com/aleju/imgaug; + description = "Image augmentation for machine learning experiments"; + license = licenses.mit; + maintainers = with maintainers; [ cmcdragonkai ]; + }; +} |