Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at fix-function-merge 33 lines 755 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 = "1.1.0"; 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-2Dnl0dcdMo4PnhHTb/5cJ7C0CvW84av4CCbrTLPqopg="; 21 }; 22 23 propagatedBuildInputs = [ pillow ]; 24 25 nativeCheckInputs = [ pytestCheckHook ]; 26 27 meta = with lib; { 28 description = "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}