From d770329334a58171cb3dec7910931e8666f4ceb4 Mon Sep 17 00:00:00 2001 From: makefu Date: Fri, 23 Oct 2020 21:27:09 +0200 Subject: ma pkgs.studio-link: 17.03.1 -> 20.05.5 --- makefu/5pkgs/studio-link/default.nix | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-) (limited to 'makefu/5pkgs/studio-link') 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; { -- cgit v1.2.3