depot/third_party/nixpkgs/pkgs/development/python-modules/image-go-nord/default.nix
Default email 620eecebfb Project import generated by Copybara.
GitOrigin-RevId: 2deb07f3ac4eeb5de1c12c4ba2911a2eb1f6ed61
2021-10-28 08:52:43 +02:00

25 lines
705 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}";
sha256 = "sha256-O34COlGsXExJShRd2zvhdescNfYXWLNuGpkjcH3koPU=";
};
propagatedBuildInputs = [ pillow ];
checkInputs = [ 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 ];
};
}