nixpkgs/pkgs/applications/audio/noise-repellent/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

32 lines
803 B
Nix
Raw Normal View History

2022-04-25 21:12:11 +01:00
{ lib, stdenv, fetchFromGitHub, meson, ninja, pkg-config, cmake, libspecbleach, lv2 }:
stdenv.mkDerivation rec {
pname = "noise-repellent";
2022-07-29 03:30:57 +01:00
version = "0.2.3";
src = fetchFromGitHub {
owner = "lucianodato";
repo = pname;
2022-04-25 21:12:11 +01:00
rev = "v${version}";
2022-07-29 03:30:57 +01:00
sha256 = "sha256-d8csYC3z3vXdmN/G6mAK+H8ia0vOCsoUpoA3W8/OADc=";
};
2022-04-25 21:12:11 +01:00
mesonFlags = [
"--prefix=${placeholder "out"}/lib/lv2"
"--buildtype=release"
];
2022-04-25 21:12:11 +01:00
nativeBuildInputs = [ meson ninja pkg-config cmake ];
buildInputs = [
2022-04-25 21:12:11 +01:00
libspecbleach lv2
];
meta = with lib; {
description = "An lv2 plugin for broadband noise reduction";
homepage = "https://github.com/lucianodato/noise-repellent";
license = licenses.gpl3;
maintainers = [ maintainers.magnetophon ];
2022-04-25 21:12:11 +01:00
platforms = platforms.unix;
};
}