Added studio-link

This commit is contained in:
fleaz 2023-10-04 23:11:00 +02:00
parent cdf9817bc8
commit 9e18787088
No known key found for this signature in database
GPG key ID: AED15F8FDD04D083
2 changed files with 41 additions and 0 deletions

View file

@ -10,4 +10,5 @@ self: super: {
gotosocial = super.callPackage ./gotosocial { };
pulse-secure = super.callPackage ./pulse-secure { };
studio-link = super.callPackage ./studio-link { };
}

40
studio-link.nix Normal file
View file

@ -0,0 +1,40 @@
{ stdenv
, lib
, fetchurl
, pulseaudio
, zlib
, alsaLib
, autoPatchelfHook
}:
stdenv.mkDerivation rec {
pname = "studio-link";
version = "21.07.0";
src = fetchurl {
url = "https://download.studio.link/releases/v${version}-stable/linux/studio-link-standalone-v${version}.tar.gz";
hash = "sha256-4CkijAlenhht8tyk3nBULaBPE0GBf6DVII699/RmmWI=";
};
sourceRoot = ".";
nativeBuildInputs = [
autoPatchelfHook
];
buildInputs = [
alsaLib
pulseaudio
zlib
];
installPhase = ''
install -D -m755 studio-link-standalone-v* $out/bin/studio-link
'';
meta = with lib; {
homepage = "https://studio-link.com";
description = "VoIP Thing";
platforms = platforms.linux;
};
}