forked from mirrors/nixpkgs
python.imread: init at 0.5.1
This is a package to read image files into numpy arrays.
This commit is contained in:
parent
c4bdf26035
commit
5ff41b047a
|
@ -174,6 +174,7 @@
|
|||
lsix = "Lancelot SIX <lsix@lancelotsix.com>";
|
||||
ludo = "Ludovic Courtès <ludo@gnu.org>";
|
||||
lukego = "Luke Gorrie <luke@snabb.co>";
|
||||
luispedro = "Luis Pedro Coelho <luis@luispedro.org>";
|
||||
lw = "Sergey Sofeychuk <lw@fmap.me>";
|
||||
madjar = "Georges Dubus <georges.dubus@compiletoi.net>";
|
||||
magnetophon = "Bart Brouns <bart@magnetophon.nl>";
|
||||
|
|
|
@ -4940,6 +4940,33 @@ in modules // {
|
|||
};
|
||||
};
|
||||
|
||||
imread = buildPythonPackage rec {
|
||||
name = "python-imread-${version}";
|
||||
version = "0.5.1";
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "https://github.com/luispedro/imread/archive/release-${version}.tar.gz";
|
||||
sha256 = "12d7ba3523ba50d67d526e9797e041021dd9cd4acf9567a9bf73c8ae0b689d4a";
|
||||
};
|
||||
|
||||
buildInputs = with self; [
|
||||
nose
|
||||
pkgs.libjpeg
|
||||
pkgs.libpng
|
||||
pkgs.libtiff
|
||||
pkgs.libwebp
|
||||
];
|
||||
propagatedBuildInputs = with self; [ numpy ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Python package to load images as numpy arrays";
|
||||
homepage = https://readthedocs.org/projects/imread/;
|
||||
maintainers = with maintainers; [ luispedro ];
|
||||
license = licenses.mit;
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
};
|
||||
|
||||
itsdangerous = buildPythonPackage rec {
|
||||
name = "itsdangerous-0.24";
|
||||
|
||||
|
|
Loading…
Reference in a new issue