Skip to content

Instantly share code, notes, and snippets.

@Mic92
Last active December 6, 2021 19:38
Show Gist options
  • Save Mic92/93f65c4d42ac72c8d64397258cada90c to your computer and use it in GitHub Desktop.
Save Mic92/93f65c4d42ac72c8d64397258cada90c to your computer and use it in GitHub Desktop.
studiolink for nix
$ nix-shell 'https://gist.github.com/Mic92/93f65c4d42ac72c8d64397258cada90c/archive/0d27eed01e02b9d6d6ec501a6ac6d6a3ba6576c1.tar.gz' --command 'studio-link'
with import <nixpkgs> {};
stdenv.mkDerivation {
name = "studiolink";
buildInputs = [(stdenv.mkDerivation rec {
name = "studio-link-${version}";
version = "21.08.0";
rev = "390304f";
src = fetchurl {
url = "https://download.studio.link/devel/arm32_64/v${version}-beta-${rev}/linux/studio-link-standalone-v${version}.tar.gz";
sha256 = "sha256-JXkNgH7WCRGfsyuX2M+2lo0UpmM+fVTSfKlYf78ITtg=";
};
buildInputs = [ pulseaudio zlib alsaLib ];
sourceRoot = ".";
installPhase = ''
install -D -m755 studio-link-standalone-v* $out/bin/studio-link
'';
nativeBuildInputs = [ autoPatchelfHook ];
meta = with lib; {
homepage = "https://studio-link.com";
description = "Voip transfer";
platforms = platforms.linux;
maintainers = with maintainers; [ makefu ];
};
})];
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment