python312Packages.fnllm: 0.0.11 -> 0.0.12 (#364582)
[NixPkgs.git] / pkgs / development / python-modules / image-go-nord / default.nix
blob2e3b5cf39312f8ed5754daf6dfd3b797586479a3
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   ffmpeg-python,
6   numpy,
7   pillow,
8   pypaInstallHook,
9   pytestCheckHook,
10   pythonOlder,
11   requests,
12   setuptoolsBuildHook,
15 buildPythonPackage rec {
16   pname = "image-go-nord";
17   version = "1.2.0";
18   pyproject = false;
20   disabled = pythonOlder "3.7";
22   src = fetchFromGitHub {
23     owner = "Schrodinger-Hat";
24     repo = "ImageGoNord-pip";
25     rev = "refs/tags/v${version}";
26     hash = "sha256-rPp4QrkbDhrdpfynRUYgxpNgUNxU+3h54Ea7s/+u1kI=";
27   };
29   nativeBuildInputs = [
30     pypaInstallHook
31     setuptoolsBuildHook
32   ];
34   dependencies = [
35     ffmpeg-python
36     numpy
37     pillow
38     requests
39   ];
41   nativeCheckInputs = [ pytestCheckHook ];
43   pythonImportsCheck = [ "ImageGoNord" ];
45   meta = {
46     description = "Tool that can convert rgb images to nordtheme palette";
47     homepage = "https://github.com/Schrodinger-Hat/ImageGoNord-pip";
48     changelog = "https://github.com/Schroedinger-Hat/ImageGoNord-pip/releases/tag/v${version}";
49     license = lib.licenses.mit;
50     maintainers = with lib.maintainers; [ kranzes ];
51   };