$ nix-shell 'https://gist.github.com/Mic92/93f65c4d42ac72c8d64397258cada90c/archive/0d27eed01e02b9d6d6ec501a6ac6d6a3ba6576c1.tar.gz' --command 'studio-link'
Last active
December 6, 2021 19:38
-
-
Save Mic92/93f65c4d42ac72c8d64397258cada90c to your computer and use it in GitHub Desktop.
studiolink for nix
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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