46 stdenv.mkDerivation rec {
48 version = "1.3.7.218";
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-6nnTSMTKlUyqzhxSmTfDcpNcxCb34B0vuJaUiVNS0NE=";
60 armv7l-linux = "sha256-eOQiYqAKt36ah7BY5yxChaPF6lhBnVOshhep1u36p3U=";
61 x86_64-linux = "sha256-rBGbiV/1RhL513qSyc2TTsdvkTPJ2bmP6oq2Q6Ykay8=";
62 }.${stdenv.hostPlatform.system} or (throw "Unsupported system: ${stdenv.hostPlatform.system}");
74 (lib.getLib stdenv.cc.cc)
85 cp -r usr/share $out/share
88 cp opt/touchosc/TouchOSC $out/bin/TouchOSC
90 wrapProgram $out/bin/TouchOSC \
91 --prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath runLibDeps} \
92 --prefix PATH : ${lib.makeBinPath runBinDeps}
97 passthru.updateScript = ./update.sh;
100 homepage = "https://hexler.net/touchosc";
101 description = "Next generation modular control surface";
102 sourceProvenance = with sourceTypes; [ binaryNativeCode ];
103 license = licenses.unfree;
105 platforms = [ "aarch64-linux" "armv7l-linux" "x86_64-linux" ];
106 mainProgram = "TouchOSC";