Merge pull request #143161 from Kranzes/image-go-nord

This commit is contained in:
Sandro 2021-10-27 21:37:58 +02:00 committed by GitHub
commit 5290891b17
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 27 additions and 0 deletions

View File

@ -0,0 +1,25 @@
{ lib, buildPythonPackage, fetchFromGitHub, pillow, pytestCheckHook, pythonOlder }:
buildPythonPackage rec {
pname = "image-go-nord";
version = "0.1.5";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "Schrodinger-Hat";
repo = "ImageGoNord-pip";
rev = "v${version}";
sha256 = "sha256-O34COlGsXExJShRd2zvhdescNfYXWLNuGpkjcH3koPU=";
};
propagatedBuildInputs = [ pillow ];
checkInputs = [ pytestCheckHook ];
meta = with lib; {
description = "A tool that can convert rgb images to nordtheme palette";
homepage = "https://github.com/Schrodinger-Hat/ImageGoNord-pip";
license = licenses.mit;
maintainers = with maintainers; [ kranzes ];
};
}

View File

@ -3658,6 +3658,8 @@ in {
imageio-ffmpeg = callPackage ../development/python-modules/imageio-ffmpeg { };
image-go-nord = callPackage ../development/python-modules/image-go-nord { };
image-match = callPackage ../development/python-modules/image-match { };
imagesize = callPackage ../development/python-modules/imagesize { };