18 stdenv.mkDerivation rec {
19 pname = "tonelib-metal";
23 url = "https://tonelib.net/download/221222/ToneLib-Metal-amd64.deb";
24 sha256 = "sha256-G80EKAsXomdk8GsnNyvjN8shz3YMKhqdWWYyVB7xTsU=";
27 nativeBuildInputs = [ autoPatchelfHook dpkg ];
30 (lib.getLib stdenv.cc.cc)
35 ] ++ runtimeDependencies;
37 runtimeDependencies = map lib.getLib [
46 unpackCmd = "dpkg -x $curSrc source";
50 substituteInPlace $out/share/applications/ToneLib-Metal.desktop --replace /usr/ $out/
54 description = "ToneLib Metal – Guitar amp simulator targeted at metal players";
55 homepage = "https://tonelib.net/";
56 sourceProvenance = with sourceTypes; [ binaryNativeCode ];
57 license = licenses.unfree;
58 maintainers = with maintainers; [ dan4ik605743 ];
59 platforms = [ "x86_64-linux" ];
60 mainProgram = "ToneLib-Metal";