depot/third_party/nixpkgs/pkgs/development/python-modules/image-go-nord/default.nix
Default email 83405b6dd2 Project import generated by Copybara.
GitOrigin-RevId: ac718d02867a84b42522a0ece52d841188208f2c
2023-03-15 17:39:30 +01:00

25 lines
709 B
Nix

{ 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}";
hash = "sha256-O34COlGsXExJShRd2zvhdescNfYXWLNuGpkjcH3koPU=";
};
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 ];
};
}