Merge pull request #144774 from dan4ik605743/tonelib-meta
This commit is contained in:
commit
4042e36f2d
@ -56,6 +56,6 @@ stdenv.mkDerivation rec {
|
|||||||
homepage = "https://tonelib.net/";
|
homepage = "https://tonelib.net/";
|
||||||
license = licenses.unfree;
|
license = licenses.unfree;
|
||||||
maintainers = with maintainers; [ dan4ik605743 ];
|
maintainers = with maintainers; [ dan4ik605743 ];
|
||||||
platforms = platforms.linux;
|
platforms = [ "x86_64-linux" ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -1,12 +1,18 @@
|
|||||||
{ stdenv
|
{ lib
|
||||||
, dpkg
|
, stdenv
|
||||||
, lib
|
|
||||||
, autoPatchelfHook
|
|
||||||
, fetchurl
|
, fetchurl
|
||||||
, webkitgtk
|
, autoPatchelfHook
|
||||||
, libjack2
|
, dpkg
|
||||||
, alsa-lib
|
, alsa-lib
|
||||||
|
, freetype
|
||||||
|
, libglvnd
|
||||||
, curl
|
, curl
|
||||||
|
, libXcursor
|
||||||
|
, libXinerama
|
||||||
|
, libXrandr
|
||||||
|
, libXrender
|
||||||
|
, libjack2
|
||||||
|
, webkitgtk
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
@ -18,36 +24,40 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "sha256-4q2vM0/q7o/FracnO2xxnr27opqfVQoN7fsqTD9Tr/c=";
|
sha256 = "sha256-4q2vM0/q7o/FracnO2xxnr27opqfVQoN7fsqTD9Tr/c=";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [
|
|
||||||
dpkg
|
|
||||||
webkitgtk
|
|
||||||
libjack2
|
|
||||||
alsa-lib
|
|
||||||
];
|
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
autoPatchelfHook
|
autoPatchelfHook
|
||||||
|
dpkg
|
||||||
];
|
];
|
||||||
|
|
||||||
unpackPhase = ''
|
buildInputs = [
|
||||||
mkdir -p $TMP/ $out/
|
stdenv.cc.cc.lib
|
||||||
dpkg -x $src $TMP
|
alsa-lib
|
||||||
'';
|
freetype
|
||||||
|
libglvnd
|
||||||
|
webkitgtk
|
||||||
|
] ++ runtimeDependencies;
|
||||||
|
|
||||||
|
runtimeDependencies = map lib.getLib [
|
||||||
|
curl
|
||||||
|
libXcursor
|
||||||
|
libXinerama
|
||||||
|
libXrandr
|
||||||
|
libXrender
|
||||||
|
libjack2
|
||||||
|
];
|
||||||
|
|
||||||
|
unpackCmd = "dpkg -x $curSrc source";
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
cp -R $TMP/usr/* $out/
|
mv usr $out
|
||||||
mv $out/bin/ToneLib-Zoom $out/bin/tonelib-zoom
|
substituteInPlace $out/share/applications/ToneLib-Zoom.desktop --replace /usr/ $out/
|
||||||
'';
|
'';
|
||||||
|
|
||||||
runtimeDependencies = [
|
|
||||||
(lib.getLib curl)
|
|
||||||
];
|
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "ToneLib Zoom – change and save all the settings in your Zoom(r) guitar pedal";
|
description = "ToneLib Zoom – change and save all the settings in your Zoom(r) guitar pedal";
|
||||||
homepage = "https://tonelib.net/";
|
homepage = "https://tonelib.net/";
|
||||||
license = licenses.unfree;
|
license = licenses.unfree;
|
||||||
maintainers = with maintainers; [ dan4ik605743 ];
|
maintainers = with maintainers; [ dan4ik605743 ];
|
||||||
platforms = platforms.linux;
|
platforms = [ "x86_64-linux" ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user