depot/third_party/nixpkgs/pkgs/development/python-modules/image-go-nord/default.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

33 lines
755 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 = "Tool that can convert rgb images to nordtheme palette";
homepage = "https://github.com/Schrodinger-Hat/ImageGoNord-pip";
license = licenses.mit;
maintainers = with maintainers; [ kranzes ];
};
}