Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 19.03 696 B view raw
1{ stdenv, buildPythonPackage, fetchPypi, numpy, scipy, scikitimage, opencv3, six }: 2 3buildPythonPackage rec { 4 pname = "imgaug"; 5 version = "0.2.8"; 6 7 src = fetchPypi { 8 inherit pname version; 9 sha256 = "03dcbb3d7485de372eacde4b890b676e0c7a992524ee4bc72bd05a9a1cc5f9a4"; 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}