46 stdenv.mkDerivation rec {
48 version = "1.1.0.173";
51 aarch64-linux = "linux-arm64";
52 armv7l-linux = "linux-armhf";
53 x86_64-linux = "linux-x64";
54 }.${stdenv.hostPlatform.system} or (throw "Unsupported system: ${stdenv.hostPlatform.system}");
57 url = "https://hexler.net/pub/${pname}/${pname}-${version}-${suffix}.deb";
59 aarch64-linux = "sha256-WPUWvgVZR+2Dg4zpk+iUemMBGlGBDtaGkUGrWuF5LBs=";
60 armv7l-linux = "sha256-tOPqP40e0JrXg92OluMZrurWHXZavGwTkJiNN1IFVEE=";
61 x86_64-linux = "sha256-ZA8BlUtKaiSnXGncYwb2BbhBlULuGz7SWuXL0RAgQLI=";
62 }.${stdenv.hostPlatform.system} or (throw "Unsupported system: ${stdenv.hostPlatform.system}");
84 cp -r usr/share $out/share
87 cp opt/kodelife/KodeLife $out/bin/KodeLife
89 wrapProgram $out/bin/KodeLife \
90 --prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath runLibDeps} \
91 --prefix PATH : ${lib.makeBinPath runBinDeps}
96 passthru.updateScript = ./update.sh;
99 homepage = "https://hexler.net/kodelife";
100 description = "Real-time GPU shader editor";
101 sourceProvenance = with sourceTypes; [ binaryNativeCode ];
102 license = licenses.unfree;
103 maintainers = with maintainers; [ prusnak lilyinstarlight ];
104 platforms = [ "aarch64-linux" "armv7l-linux" "x86_64-linux" ];
105 mainProgram = "KodeLife";