stockholm/makefu/5pkgs/studio-link/default.nix

45 lines
836 B
Nix
Raw Normal View History

{ stdenv
2021-12-04 20:24:48 +00:00
, lib
, fetchurl
, alsaLib
, unzip
, openssl
, zlib
, libjack2
, pulseaudio
, 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";
2017-06-15 11:01:16 +00:00
src = fetchurl {
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
};
nativeBuildInputs = [
autoPatchelfHook
];
sourceRoot = ".";
buildInputs = [
alsaLib
openssl
zlib
pulseaudio
];
2017-06-15 11:01:16 +00:00
installPhase = ''
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 ];
};
}