Files
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

68 lines
1.2 KiB
Nix
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{
lib,
stdenv,
fetchurl,
autoPatchelfHook,
dpkg,
alsa-lib,
freetype,
libglvnd,
libgbm,
curl,
libXcursor,
libXinerama,
libXrandr,
libXrender,
libjack2,
}:
stdenv.mkDerivation rec {
pname = "tonelib-noisereducer";
version = "2.0";
src = fetchurl {
url = "https://tonelib.vip/download/24-12-01/ToneLib-NoiseReducer-amd64.deb";
hash = "sha256-R+JXoc6waKGPMaghlJ8BkLumDcjC7Oq0jx8tFjAKegE=";
};
nativeBuildInputs = [
autoPatchelfHook
dpkg
];
runtimeDependencies = map lib.getLib [
curl
libXcursor
libXinerama
libXrandr
libXrender
libjack2
];
buildInputs = [
(lib.getLib stdenv.cc.cc)
alsa-lib
freetype
libglvnd
libgbm
]
++ runtimeDependencies;
installPhase = ''
runHook preInstall
cp -r usr $out
runHook postInstall
'';
meta = {
description = "ToneLib NoiseReducer two-unit noise reduction rack effect plugin";
homepage = "https://tonelib.net/tl-noisereducer.html";
sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ];
license = lib.licenses.unfree;
maintainers = with lib.maintainers; [ orivej ];
platforms = [ "x86_64-linux" ];
mainProgram = "ToneLib-NoiseReducer";
};
}