Merge pull request #119126 from fabaff/pycomfoconnect
[NixPkgs.git] / pkgs / development / python-modules / imread / default.nix
blob3d09e6a439713edaef452c040076f84caf219c03
1 { lib
2 , buildPythonPackage
3 , fetchPypi
4 , nose
5 , pkg-config
6 , libjpeg
7 , libpng
8 , libtiff
9 , libwebp
10 , numpy
13 buildPythonPackage rec {
14   pname = "python-imread";
15   version = "0.7.0";
17   src = fetchPypi {
18     inherit version;
19     pname = "imread";
20     sha256 = "0yb0fmy6ilh5fvbk69wl2bzqgss2g0951668mx8z9yyj4jhr1z2y";
21   };
24   nativeBuildInputs = [ pkg-config ];
25   buildInputs = [ nose libjpeg libpng libtiff libwebp ];
26   propagatedBuildInputs = [ numpy ];
28   meta = with lib; {
29     description = "Python package to load images as numpy arrays";
30     homepage = "https://imread.readthedocs.io/en/latest/";
31     maintainers = with maintainers; [ luispedro ];
32     license = licenses.mit;
33     platforms = platforms.unix;
34   };