From fd2f245ef16ceb14c079514949a5707c6793d7b5 Mon Sep 17 00:00:00 2001 From: Bart Brouns Date: Mon, 25 Nov 2019 22:55:29 +0100 Subject: [PATCH] noise-repellent: init at unstable-2018-12-29 --- .../audio/noise-repellent/default.nix | 29 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 3 ++ 2 files changed, 32 insertions(+) create mode 100644 pkgs/applications/audio/noise-repellent/default.nix diff --git a/pkgs/applications/audio/noise-repellent/default.nix b/pkgs/applications/audio/noise-repellent/default.nix new file mode 100644 index 000000000000..146e13f34de1 --- /dev/null +++ b/pkgs/applications/audio/noise-repellent/default.nix @@ -0,0 +1,29 @@ +{ stdenv, fetchFromGitHub, meson, ninja, pkgconfig, fftwFloat, lv2 }: + +stdenv.mkDerivation rec { + pname = "noise-repellent"; + version = "unstable-2018-12-29"; + + src = fetchFromGitHub { + owner = "lucianodato"; + repo = pname; + rev = "9efdd0b41ec184a792087c87cbf5382f455e33ec"; + sha256 = "0pn9cxapfvb5l62q86bchyfll1290vi0rhrzarb1jpc4ix7kz53c"; + 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" ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 721bc1c67187..ec4c15f6069f 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -5244,6 +5244,9 @@ in nnn = callPackage ../applications/misc/nnn { }; + + noise-repellent = callPackage ../applications/audio/noise-repellent { }; + notary = callPackage ../tools/security/notary { }; notify-osd = callPackage ../applications/misc/notify-osd { };