summaryrefslogtreecommitdiffstats
path: root/makefu/5pkgs/studio-link
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2020-04-17 19:21:16 +0200
committertv <tv@krebsco.de>2020-04-17 19:21:16 +0200
commite1bfdd8d839929538d36e421908a96407b3aa0ab (patch)
tree557bf9a711f06997e846a5ef14a4105248f1da8c /makefu/5pkgs/studio-link
parent6ace0f7b6941c1c9476d84944cdba8bedf98d95d (diff)
parent07f18d851a974ee594c92e3332f167ef3b1d259f (diff)
Merge remote-tracking branch 'prism/master'
Diffstat (limited to 'makefu/5pkgs/studio-link')
-rw-r--r--makefu/5pkgs/studio-link/default.nix21
1 files changed, 12 insertions, 9 deletions
diff --git a/makefu/5pkgs/studio-link/default.nix b/makefu/5pkgs/studio-link/default.nix
index 8c796b43b..8786f3574 100644
--- a/makefu/5pkgs/studio-link/default.nix
+++ b/makefu/5pkgs/studio-link/default.nix
@@ -11,17 +11,22 @@
stdenv.mkDerivation rec {
name = "studio-link-${version}";
version = "17.03.1-beta";
+
src = fetchurl {
url = "https://github.com/Studio-Link-v2/backend/releases/download/v${version}/studio-link-standalone-linux.zip";
sha256 = "1y21nymin7iy64hcffc8g37fv305b1nvmh944hkf7ipb06kcx6r9";
};
- nativeBuildInputs = [ unzip autoPatchelfHook ];
- buildInputs = [
- alsaLib
- openssl_1_0_2
- zlib
- libjack2
+ nativeBuildInputs = [
+ unzip
+ autoPatchelfHook
+ ];
+
+ buildInputs = [
+ alsaLib
+ openssl_1_0_2
+ zlib
+ libjack2
];
unpackPhase = ''
@@ -29,9 +34,7 @@ stdenv.mkDerivation rec {
'';
installPhase = ''
- mkdir -p $out/bin
- cp studio-link-standalone $out/bin/studio-link
- chmod +x $out/bin/studio-link
+ install -m755 -D studio-link-standalone $out/bin/studio-link
'';
meta = with stdenv.lib; {