Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 19.03 749 B view raw
1{ stdenv 2, buildPythonPackage 3, fetchurl 4, nose 5, pkgs 6, numpy 7}: 8 9buildPythonPackage rec { 10 pname = "python-imread"; 11 version = "0.6"; 12 13 src = pkgs.fetchurl { 14 url = "https://github.com/luispedro/imread/archive/release-${version}.tar.gz"; 15 sha256 = "0i14bc67200zhzxc41g5dfp2m0pr1zaa2gv59p2va1xw0ji2dc0f"; 16 }; 17 18 nativeBuildInputs = [ pkgs.pkgconfig ]; 19 buildInputs = [ nose pkgs.libjpeg pkgs.libpng pkgs.libtiff pkgs.libwebp ]; 20 propagatedBuildInputs = [ numpy ]; 21 22 meta = with stdenv.lib; { 23 description = "Python package to load images as numpy arrays"; 24 homepage = https://imread.readthedocs.io/en/latest/; 25 maintainers = with maintainers; [ luispedro ]; 26 license = licenses.mit; 27 platforms = platforms.unix; 28 }; 29 30}