ma pkgs.studio-link: use install, cleanup
This commit is contained in:
parent
ff29e9067a
commit
bf5a5fb3e0
@ -11,17 +11,22 @@
|
|||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "studio-link-${version}";
|
name = "studio-link-${version}";
|
||||||
version = "17.03.1-beta";
|
version = "17.03.1-beta";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://github.com/Studio-Link-v2/backend/releases/download/v${version}/studio-link-standalone-linux.zip";
|
url = "https://github.com/Studio-Link-v2/backend/releases/download/v${version}/studio-link-standalone-linux.zip";
|
||||||
sha256 = "1y21nymin7iy64hcffc8g37fv305b1nvmh944hkf7ipb06kcx6r9";
|
sha256 = "1y21nymin7iy64hcffc8g37fv305b1nvmh944hkf7ipb06kcx6r9";
|
||||||
};
|
};
|
||||||
nativeBuildInputs = [ unzip autoPatchelfHook ];
|
|
||||||
buildInputs = [
|
|
||||||
alsaLib
|
|
||||||
|
|
||||||
openssl_1_0_2
|
nativeBuildInputs = [
|
||||||
zlib
|
unzip
|
||||||
libjack2
|
autoPatchelfHook
|
||||||
|
];
|
||||||
|
|
||||||
|
buildInputs = [
|
||||||
|
alsaLib
|
||||||
|
openssl_1_0_2
|
||||||
|
zlib
|
||||||
|
libjack2
|
||||||
];
|
];
|
||||||
|
|
||||||
unpackPhase = ''
|
unpackPhase = ''
|
||||||
@ -29,9 +34,7 @@ stdenv.mkDerivation rec {
|
|||||||
'';
|
'';
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir -p $out/bin
|
install -m755 -D studio-link-standalone $out/bin/studio-link
|
||||||
cp studio-link-standalone $out/bin/studio-link
|
|
||||||
chmod +x $out/bin/studio-link
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
|
Loading…
Reference in New Issue
Block a user