Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, stdenv, fetchFromGitHub, meson, ninja, pkg-config, fftwFloat}:
2
3stdenv.mkDerivation rec {
4 pname = "libspecbleach";
5 version = "0.1.6";
6
7 src = fetchFromGitHub {
8 owner = "lucianodato";
9 repo = pname;
10 rev = "v${version}";
11 sha256 = "sha256-Tw5nrGVAeoiMH00efJwcU+QLmKDZZTXHQPSV9x789TM=";
12 };
13
14 nativeBuildInputs = [ meson ninja pkg-config ];
15 buildInputs = [
16 fftwFloat
17 ];
18
19 meta = with lib; {
20 description = "C library for audio noise reduction";
21 homepage = "https://github.com/lucianodato/libspecbleach";
22 license = licenses.lgpl2;
23 maintainers = [ maintainers.magnetophon ];
24 platforms = platforms.unix;
25 };
26}