1{ lib, buildPythonPackage, fetchFromGitHub, pillow, pytestCheckHook, pythonOlder }:
2
3buildPythonPackage rec {
4 pname = "image-go-nord";
5 version = "0.1.5";
6 disabled = pythonOlder "3.7";
7
8 src = fetchFromGitHub {
9 owner = "Schrodinger-Hat";
10 repo = "ImageGoNord-pip";
11 rev = "v${version}";
12 hash = "sha256-O34COlGsXExJShRd2zvhdescNfYXWLNuGpkjcH3koPU=";
13 };
14
15 propagatedBuildInputs = [ pillow ];
16
17 nativeCheckInputs = [ pytestCheckHook ];
18
19 meta = with lib; {
20 description = "A tool that can convert rgb images to nordtheme palette";
21 homepage = "https://github.com/Schrodinger-Hat/ImageGoNord-pip";
22 license = licenses.mit;
23 maintainers = with maintainers; [ kranzes ];
24 };
25}