2019-11-25 22:55:29 +01:00
|
|
|
{ stdenv, fetchFromGitHub, meson, ninja, pkgconfig, fftwFloat, lv2 }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "noise-repellent";
|
2020-01-14 00:59:29 +01:00
|
|
|
version = "0.1.5";
|
2019-11-25 22:55:29 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "lucianodato";
|
|
|
|
repo = pname;
|
2020-01-14 00:59:29 +01:00
|
|
|
rev = version;
|
|
|
|
sha256 = "0hb89x9i2knzan46q4nwscf5zmnb2nwf4w13xl2c0y1mx1ls1mwl";
|
2019-11-25 22:55:29 +01:00
|
|
|
fetchSubmodules = true;
|
|
|
|
};
|
|
|
|
|
|
|
|
mesonFlags = ("--prefix=${placeholder "out"}/lib/lv2");
|
|
|
|
|
|
|
|
nativeBuildInputs = [ meson ninja pkgconfig ];
|
|
|
|
buildInputs = [
|
|
|
|
fftwFloat lv2
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "An lv2 plugin for broadband noise reduction";
|
|
|
|
homepage = https://github.com/lucianodato/noise-repellent;
|
|
|
|
license = licenses.gpl3;
|
|
|
|
maintainers = [ maintainers.magnetophon ];
|
|
|
|
platforms = [ "x86_64-linux" "i686-linux" "x86_64-darwin" "i686-darwin" ];
|
|
|
|
};
|
|
|
|
}
|