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