Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at lanzaboote 25 lines 719 B view raw
1{ lib, buildPythonPackage, fetchFromGitHub, pillow, pytestCheckHook, pythonOlder }: 2 3buildPythonPackage rec { 4 pname = "image-go-nord"; 5 version = "0.1.7"; 6 disabled = pythonOlder "3.7"; 7 8 src = fetchFromGitHub { 9 owner = "Schrodinger-Hat"; 10 repo = "ImageGoNord-pip"; 11 rev = "refs/tags/v${version}"; 12 hash = "sha256-vXABG3aJ6bwT37hfo909oF8qfAY3ZW18xvr1V8vSy5w="; 13 }; 14 15 propagatedBuildInputs = [ pillow ]; 16 17 nativeCheckInputs = [ pytestCheckHook ]; 18 19 meta = with lib; { 20 description = "A tool that can convert rgb images to nordtheme palette"; 21 homepage = "https://github.com/Schrodinger-Hat/ImageGoNord-pip"; 22 license = licenses.mit; 23 maintainers = with maintainers; [ kranzes ]; 24 }; 25}