Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at python-updates 33 lines 883 B view raw
1{ 2 stdenv, 3 lib, 4 fetchFromGitHub, 5 makeWrapper, 6}: 7stdenv.mkDerivation (finalAttrs: { 8 pname = "hellwal"; 9 version = "1.0.5"; 10 src = fetchFromGitHub { 11 owner = "danihek"; 12 repo = "hellwal"; 13 tag = "v${finalAttrs.version}"; 14 hash = "sha256-RIg2l2lFPkmbk9Dh4uKoo7kcl+/InZZ1oYXt2ih8zKs="; 15 }; 16 nativeBuildInputs = [ makeWrapper ]; 17 installPhase = '' 18 install -Dm755 hellwal -t $out/bin 19 mkdir -p $out/share/docs/hellwal 20 cp -r templates themes $out/share/docs/hellwal 21 ''; 22 meta = { 23 homepage = "https://github.com/danihek/hellwal"; 24 description = "Fast, extensible color palette generator"; 25 longDescription = '' 26 Pywal-like color palette generator, but faster and in C. 27 ''; 28 license = lib.licenses.mit; 29 platforms = lib.platforms.unix; 30 maintainers = with lib.maintainers; [ danihek ]; 31 mainProgram = "hellwal"; 32 }; 33})