2019-12-29 12:35:33 +00:00
|
|
|
{ stdenv
|
2021-12-04 20:24:48 +00:00
|
|
|
, lib
|
2019-12-29 12:35:33 +00:00
|
|
|
, fetchurl
|
|
|
|
, alsaLib
|
|
|
|
, unzip
|
2020-10-23 19:27:09 +00:00
|
|
|
, openssl
|
2019-12-29 12:35:33 +00:00
|
|
|
, zlib
|
|
|
|
, libjack2
|
2020-10-23 19:27:09 +00:00
|
|
|
, pulseaudio
|
2019-12-29 12:35:33 +00:00
|
|
|
, autoPatchelfHook
|
|
|
|
}:
|
2017-06-15 11:01:16 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "studio-link-${version}";
|
2021-05-15 11:18:36 +00:00
|
|
|
version = "21.03.2";
|
2020-03-13 09:37:24 +00:00
|
|
|
|
2017-06-15 11:01:16 +00:00
|
|
|
src = fetchurl {
|
2020-10-23 19:27:09 +00:00
|
|
|
url = "https://download.studio.link/releases/v${version}-stable/linux/studio-link-standalone-v${version}.tar.gz";
|
2021-05-15 11:18:36 +00:00
|
|
|
sha256 = "0szaym9lrkbnwxaffab9snlsij6kkwlin70d36bm3vi2la8iayc6";
|
2017-06-15 11:01:16 +00:00
|
|
|
};
|
2019-12-29 12:35:33 +00:00
|
|
|
|
2020-03-13 09:37:24 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
autoPatchelfHook
|
|
|
|
];
|
2020-10-23 19:27:09 +00:00
|
|
|
sourceRoot = ".";
|
2020-03-13 09:37:24 +00:00
|
|
|
buildInputs = [
|
|
|
|
alsaLib
|
2020-10-23 19:27:09 +00:00
|
|
|
openssl
|
2020-03-13 09:37:24 +00:00
|
|
|
zlib
|
2020-10-23 19:27:09 +00:00
|
|
|
pulseaudio
|
2019-12-29 12:35:33 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
|
2017-06-15 11:01:16 +00:00
|
|
|
installPhase = ''
|
2020-10-23 19:27:09 +00:00
|
|
|
install -m755 -D studio-link-standalone-v${version} $out/bin/studio-link
|
2017-06-15 11:01:16 +00:00
|
|
|
'';
|
|
|
|
|
2021-12-04 20:24:48 +00:00
|
|
|
meta = with lib; {
|
2017-06-15 11:01:16 +00:00
|
|
|
homepage = https://studio-link.com;
|
|
|
|
description = "Voip transfer";
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = with maintainers; [ makefu ];
|
|
|
|
};
|
|
|
|
}
|