summaryrefslogtreecommitdiffstats
path: root/makefu
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2020-10-23 21:27:09 +0200
committermakefu <github@syntax-fehler.de>2020-10-23 21:27:09 +0200
commitd770329334a58171cb3dec7910931e8666f4ceb4 (patch)
tree11e6d399d6d5420fc89196e038a08159f7eb8e86 /makefu
parent0ea3894a845e2e5dc59b9352402a9810e3e9b813 (diff)
ma pkgs.studio-link: 17.03.1 -> 20.05.5
Diffstat (limited to 'makefu')
-rw-r--r--makefu/5pkgs/studio-link/default.nix20
1 files changed, 9 insertions, 11 deletions
diff --git a/makefu/5pkgs/studio-link/default.nix b/makefu/5pkgs/studio-link/default.nix
index 8786f3574..16954a9ae 100644
--- a/makefu/5pkgs/studio-link/default.nix
+++ b/makefu/5pkgs/studio-link/default.nix
@@ -2,39 +2,37 @@
, fetchurl
, alsaLib
, unzip
-, openssl_1_0_2
+, openssl
, zlib
, libjack2
+, pulseaudio
, autoPatchelfHook
}:
stdenv.mkDerivation rec {
name = "studio-link-${version}";
- version = "17.03.1-beta";
+ version = "20.05.5";
src = fetchurl {
- url = "https://github.com/Studio-Link-v2/backend/releases/download/v${version}/studio-link-standalone-linux.zip";
- sha256 = "1y21nymin7iy64hcffc8g37fv305b1nvmh944hkf7ipb06kcx6r9";
+ url = "https://download.studio.link/releases/v${version}-stable/linux/studio-link-standalone-v${version}.tar.gz";
+ sha256 = "0wmcvihyxf4xvgrspvy3qhhabczv86hdfcfq61jv51hfrzibc2q1";
};
nativeBuildInputs = [
- unzip
autoPatchelfHook
];
-
+ sourceRoot = ".";
buildInputs = [
alsaLib
- openssl_1_0_2
+ openssl
zlib
libjack2
+ pulseaudio
];
- unpackPhase = ''
- unzip $src
- '';
installPhase = ''
- install -m755 -D studio-link-standalone $out/bin/studio-link
+ install -m755 -D studio-link-standalone-v${version} $out/bin/studio-link
'';
meta = with stdenv.lib; {