diff --git a/lib/maintainers.nix b/lib/maintainers.nix index d1e2b100ab8..b373a932dc5 100644 --- a/lib/maintainers.nix +++ b/lib/maintainers.nix @@ -173,6 +173,7 @@ lsix = "Lancelot SIX "; ludo = "Ludovic Courtès "; lukego = "Luke Gorrie "; + luispedro = "Luis Pedro Coelho "; lw = "Sergey Sofeychuk "; madjar = "Georges Dubus "; magnetophon = "Bart Brouns "; diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 1b673629b36..39f2fa8b569 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -3134,6 +3134,34 @@ in modules // { }; }; + mahotas = buildPythonPackage rec { + name = "python-mahotas-${version}"; + version = "1.4.0"; + + src = pkgs.fetchurl { + url = "https://github.com/luispedro/mahotas/archive/release-${version}.tar.gz"; + sha256 = "30c4b979e0d5f4c013860321766a79ffcabe56c1ad9088e5d0c6b36aec5f0415"; + }; + + buildInputs = with self; [ + nose + pillow + scipy + ]; + propagatedBuildInputs = with self; [ + numpy + imread + ]; + + meta = with stdenv.lib; { + description = "Computer vision package based on numpy"; + homepage = https://readthedocs.org/projects/mahotas/; + maintainers = with maintainers; [ luispedro ]; + license = licenses.mit; + platforms = platforms.linux; + }; + }; + mixpanel = buildPythonPackage rec { version = "4.0.2"; name = "mixpanel-${version}"; @@ -4977,6 +5005,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";