python3Packages.haishoku: init at 1.1.8
This commit is contained in:
@@ -0,0 +1,40 @@
|
||||
{
|
||||
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 ];
|
||||
};
|
||||
}
|
||||
@@ -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 =
|
||||
|
||||
Reference in New Issue
Block a user