Unverified Commit 37db8939 authored by Moraxyc's avatar Moraxyc
Browse files

python3Packages.haishoku: init at 1.1.8

parent 512a6f65
Loading
Loading
Loading
Loading
+40 −0
Original line number Diff line number Diff line
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  setuptools,
  nix-update-script,

  pillow,
}:

buildPythonPackage rec {
  pname = "haishoku";
  version = "1.1.8";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "LanceGin";
    repo = "haishoku";
    tag = "v${version}";
    hash = "sha256-LSoZopCaM5vbknGS9gG13OZIgghgqJvPtktUkBCH04Q=";
  };

  build-system = [ setuptools ];

  dependencies = [ pillow ];

  # no test
  doCheck = false;

  pythonImportsCheck = [ "haishoku" ];

  passthru.updateScript = nix-update-script { };

  meta = {
    description = "Development tool for grabbing the dominant color or representative color palette from an image";
    homepage = "https://github.com/LanceGin/haishoku";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ moraxyc ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -6670,6 +6670,8 @@ self: super: with self; {
  hacking = callPackage ../development/python-modules/hacking { };
  haishoku = callPackage ../development/python-modules/haishoku { };
  hakuin = callPackage ../development/python-modules/hakuin { };
  halide =