Merge pull request #170316 from magnetophon/noise-repellent
This commit is contained in:
commit
9760bc1e31
3 changed files with 39 additions and 9 deletions
|
@ -1,22 +1,24 @@
|
|||
{ lib, stdenv, fetchFromGitHub, meson, ninja, pkg-config, fftwFloat, lv2 }:
|
||||
{ lib, stdenv, fetchFromGitHub, meson, ninja, pkg-config, cmake, libspecbleach, lv2 }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "noise-repellent";
|
||||
version = "0.1.5";
|
||||
version = "0.2.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "lucianodato";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "0hb89x9i2knzan46q4nwscf5zmnb2nwf4w13xl2c0y1mx1ls1mwl";
|
||||
fetchSubmodules = true;
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-hMNVzhJZFGFeu5aygLkfq495O0zpaIk41ddzejvDITE=";
|
||||
};
|
||||
|
||||
mesonFlags = ("--prefix=${placeholder "out"}/lib/lv2");
|
||||
mesonFlags = [
|
||||
"--prefix=${placeholder "out"}/lib/lv2"
|
||||
"--buildtype=release"
|
||||
];
|
||||
|
||||
nativeBuildInputs = [ meson ninja pkg-config ];
|
||||
nativeBuildInputs = [ meson ninja pkg-config cmake ];
|
||||
buildInputs = [
|
||||
fftwFloat lv2
|
||||
libspecbleach lv2
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
|
@ -24,6 +26,6 @@ stdenv.mkDerivation rec {
|
|||
homepage = "https://github.com/lucianodato/noise-repellent";
|
||||
license = licenses.gpl3;
|
||||
maintainers = [ maintainers.magnetophon ];
|
||||
platforms = [ "x86_64-linux" "i686-linux" "x86_64-darwin" "i686-darwin" ];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
||||
|
|
26
pkgs/development/libraries/audio/libspecbleach/default.nix
Normal file
26
pkgs/development/libraries/audio/libspecbleach/default.nix
Normal file
|
@ -0,0 +1,26 @@
|
|||
{ lib, stdenv, fetchFromGitHub, meson, ninja, pkg-config, fftwFloat}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "libspecbleach";
|
||||
version = "0.1.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "lucianodato";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-WmUl8rA/+V+hv7FPG/5Or6aAQVqt1rIJtdb53KhSmuo=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ meson ninja pkg-config ];
|
||||
buildInputs = [
|
||||
fftwFloat
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "C library for audio noise reduction";
|
||||
homepage = "https://github.com/lucianodato/libspecbleach";
|
||||
license = licenses.lgpl2;
|
||||
maintainers = [ maintainers.magnetophon ];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
|
@ -18733,6 +18733,8 @@ with pkgs;
|
|||
|
||||
libspectre = callPackage ../development/libraries/libspectre { };
|
||||
|
||||
libspecbleach = callPackage ../development/libraries/audio/libspecbleach { };
|
||||
|
||||
libspnav = callPackage ../development/libraries/libspnav { };
|
||||
|
||||
libgsf = callPackage ../development/libraries/libgsf { };
|
||||
|
|
Loading…
Reference in a new issue