2019-12-29 12:35:33 +00:00
|
|
|
{ stdenv
|
|
|
|
, fetchurl
|
|
|
|
, alsaLib
|
|
|
|
, unzip
|
|
|
|
, openssl_1_0_2
|
|
|
|
, zlib
|
|
|
|
, libjack2
|
|
|
|
, autoPatchelfHook
|
|
|
|
}:
|
2017-06-15 11:01:16 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "studio-link-${version}";
|
|
|
|
version = "17.03.1-beta";
|
2020-03-13 09:37:24 +00:00
|
|
|
|
2017-06-15 11:01:16 +00:00
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/Studio-Link-v2/backend/releases/download/v${version}/studio-link-standalone-linux.zip";
|
|
|
|
sha256 = "1y21nymin7iy64hcffc8g37fv305b1nvmh944hkf7ipb06kcx6r9";
|
|
|
|
};
|
2019-12-29 12:35:33 +00:00
|
|
|
|
2020-03-13 09:37:24 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
unzip
|
|
|
|
autoPatchelfHook
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
alsaLib
|
|
|
|
openssl_1_0_2
|
|
|
|
zlib
|
|
|
|
libjack2
|
2019-12-29 12:35:33 +00:00
|
|
|
];
|
|
|
|
|
2017-06-15 11:01:16 +00:00
|
|
|
unpackPhase = ''
|
|
|
|
unzip $src
|
|
|
|
'';
|
2019-12-29 12:35:33 +00:00
|
|
|
|
2017-06-15 11:01:16 +00:00
|
|
|
installPhase = ''
|
2020-03-13 09:37:24 +00:00
|
|
|
install -m755 -D studio-link-standalone $out/bin/studio-link
|
2017-06-15 11:01:16 +00:00
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = https://studio-link.com;
|
|
|
|
description = "Voip transfer";
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = with maintainers; [ makefu ];
|
|
|
|
};
|
|
|
|
}
|