git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #67067 from prusnak/kodelife

kodelife: init at 0.8.3.93

commit03d34165bfe44ea6e1641303808112b7cb78d1ce authorMarek Mahut <marek.mahut@gmail.com> dateTue 20 Aug 2019, 18:49 (7 years ago) parentfd7fa0a8492dfe
2 files changed+55
pkgs/applications/graphics/kodelife/default.nix+53 pkgs/top-level/all-packages.nix+2
pkgs/applications/graphics/kodelife/default.nixnew file+53
@@ -0,0 +1,53 @@
1+{ stdenv
2+, fetchzip
3+, alsaLib
4+, glib
5+, gst_all_1
6+, libGLU_combined
7+, xorg
8+}:
9+
10+stdenv.mkDerivation rec {
11+ pname = "kodelife";
12+ version = "0.8.3.93";
13+
14+ src = fetchzip {
15+ url = "https://hexler.net/pub/${pname}/${pname}-${version}-linux-x86_64.zip";
16+ sha256 = "1gidh0745g5mc8h5ypm2wamv1paymnrq3nh3yx1j70jwjg8v2v7g";
17+ };
18+
19+ dontConfigure = true;
20+ dontBuild = true;
21+ dontStrip = true;
22+ dontPatchELF = true;
23+
24+ installPhase = ''
25+ mkdir -p $out/bin
26+ mv KodeLife $out/bin
27+ '';
28+
29+ preFixup = let
30+ libPath = stdenv.lib.makeLibraryPath [
31+ stdenv.cc.cc.lib
32+ alsaLib
33+ glib
34+ gst_all_1.gstreamer
35+ gst_all_1.gst-plugins-base
36+ libGLU_combined
37+ xorg.libX11
38+ ];
39+ in ''
40+ patchelf \
41+ --set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" \
42+ --set-rpath "${libPath}" \
43+ $out/bin/KodeLife
44+ '';
45+
46+ meta = with stdenv.lib; {
47+ homepage = "https://hexler.net/products/kodelife";
48+ description = "Real-time GPU shader editor";
49+ license = licenses.unfree;
50+ maintainers = with maintainers; [ prusnak ];
51+ platforms = [ "x86_64-linux" ];
52+ };
53+}
pkgs/top-level/all-packages.nix+2
@@ -24775,4 +24775,6 @@ in
2477524775 runwayml = callPackage ../applications/graphics/runwayml {};
2477624776
2477724777 uhubctl = callPackage ../tools/misc/uhubctl {};
24778+
24779+ kodelife = callPackage ../applications/graphics/kodelife {};
2477824780}