15 buildPythonPackage rec {
19 src = fetchFromGitHub {
23 sha256 = "17hbxndxphk3bfnq35y805adrfa6gnm5x7grjxbwdw4kqmbbqzah";
27 substituteInPlace requirements.txt \
28 --replace "opencv-python-headless" ""
29 substituteInPlace setup.py \
30 --replace "opencv-python-headless" ""
31 substituteInPlace pytest.ini \
32 --replace "--xdoctest --xdoctest-global-exec=\"import imgaug as ia\nfrom imgaug import augmenters as iaa\"" ""
35 propagatedBuildInputs = [
50 checkInputs = [ opencv3 pytest ];
53 homepage = "https://github.com/aleju/imgaug";
54 description = "Image augmentation for machine learning experiments";
55 license = licenses.mit;
56 maintainers = with maintainers; [ cmcdragonkai rakesh4g ];
57 platforms = platforms.linux;