Files
nixpkgs/pkgs/development/python-modules/image-go-nord/default.nix
T
adisbladis 02dab4ab5c python3.pkgs.*: Explicitly pass buildPythonPackage format parameter
Long term we should move everything over to `pyproject = true`, but in
the mean time we can work towards deprecating the implicit `format` paremeter.

cc https://github.com/NixOS/nixpkgs/issues/253154
cc @mweinelt @figsoda
2023-12-07 17:46:49 +01:00

27 lines
744 B
Nix

{ lib, buildPythonPackage, fetchFromGitHub, pillow, pytestCheckHook, pythonOlder }:
buildPythonPackage rec {
pname = "image-go-nord";
version = "0.1.7";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "Schrodinger-Hat";
repo = "ImageGoNord-pip";
rev = "refs/tags/v${version}";
hash = "sha256-vXABG3aJ6bwT37hfo909oF8qfAY3ZW18xvr1V8vSy5w=";
};
propagatedBuildInputs = [ pillow ];
nativeCheckInputs = [ 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 ];
};
}