diff options
author | Jeschli <jeschli@gmail.com> | 2020-04-14 20:36:21 +0200 |
---|---|---|
committer | Jeschli <jeschli@gmail.com> | 2020-04-14 20:36:21 +0200 |
commit | e5342b25c149f05db86983f3785ee395c156b435 (patch) | |
tree | e45270c08010c48c27a22643bd9a3a343b880eae /makefu/5pkgs/studio-link/default.nix | |
parent | 290b6a542527a0a48c11fc2b00aee2b4d7f7df06 (diff) | |
parent | 843a537bd7fbedd8eb5fd61a1172dd8229440606 (diff) |
Merge branch 'master' of https://cgit.lassul.us/stockholm
Diffstat (limited to 'makefu/5pkgs/studio-link/default.nix')
-rw-r--r-- | makefu/5pkgs/studio-link/default.nix | 21 |
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; { |