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