Unverified Commit 9789c328 authored by Sandro Jäckel's avatar Sandro Jäckel Committed by GitHub
Browse files

python3Packages.color-matcher: init at 0.6.0 (#436461)

parents 6967d787 02720349
Loading
Loading
Loading
Loading
+51 −0
Original line number Diff line number Diff line
{
  lib,
  stdenv,
  buildPythonPackage,
  fetchPypi,
  setuptools,
  numpy,
  imageio,
  docutils,
  ddt,
  matplotlib,
}:
let
  pname = "color-matcher";
  version = "0.6.0";
in
buildPythonPackage {
  inherit pname version;
  pyproject = true;

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-e6igB4LD5eWTHdp7H7nFcqzoLeDGyXZUQyt8/gqnSEM=";
  };

  build-system = [ setuptools ];

  dependencies = [
    numpy
    imageio
    docutils
    ddt
    matplotlib
  ];

  postPatch = ''
    ln -s */requires.txt requirements.txt
  '';

  # Some tests are broken and many require internet access
  doCheck = false;

  meta = {
    description = "Package enabling color transfer across images";
    homepage = "https://github.com/hahnec/color-matcher";
    license = lib.licenses.gpl3Plus;
    maintainers = with lib.maintainers; [ blenderfreaky ];
    # requires py2app which is not packaged for darwin
    broken = stdenv.hostPlatform.isDarwin;
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -2843,6 +2843,8 @@ self: super: with self; {
  collidoscope = callPackage ../development/python-modules/collidoscope { };
  color-matcher = callPackage ../development/python-modules/color-matcher { };
  color-operations = callPackage ../development/python-modules/color-operations { };
  color-parser-py = callPackage ../development/python-modules/color-parser-py { };