summary refs log tree commit diff
path: root/pkgs/applications/audio/noise-repellent/default.nix
blob: bc5b35396e239ceaa27c0e575e8d7f3e75921139 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
{ stdenv, fetchFromGitHub, meson, ninja, pkgconfig, fftwFloat, lv2 }:

stdenv.mkDerivation rec {
  pname = "noise-repellent";
  version = "0.1.5";

  src = fetchFromGitHub {
    owner = "lucianodato";
    repo = pname;
    rev = version;
    sha256 = "0hb89x9i2knzan46q4nwscf5zmnb2nwf4w13xl2c0y1mx1ls1mwl";
    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"  ];
  };
}