2018-08-03 13:39:55 +01:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi, numpy, scipy, scikitimage, opencv3, six }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "imgaug";
|
2019-10-24 07:47:35 +01:00
|
|
|
version = "0.3.0";
|
2018-08-03 13:39:55 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-10-24 07:47:35 +01:00
|
|
|
sha256 = "e1354d41921f1b306b50c5141b4870f17e81b531cae2f5c3093da9dc4dcb3cf4";
|
2018-08-03 13:39:55 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
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 ];
|
2019-06-20 22:55:30 +01:00
|
|
|
broken = true; # opencv-python bindings aren't available yet, and look non-trivial
|
2018-08-03 13:39:55 +01:00
|
|
|
};
|
|
|
|
}
|