electron_32: fix log spam when building on aarch64-linux (#378988)
[NixPkgs.git] / pkgs / by-name / sp / sptk / package.nix
blob79a0c8a4c5013d8c96e264b0086b6b2ead93bf76
2   lib,
3   stdenv,
4   cmake,
5   fetchFromGitHub,
6   fetchpatch,
7 }:
9 stdenv.mkDerivation rec {
10   pname = "sptk";
11   version = "4.2";
13   src = fetchFromGitHub {
14     owner = "sp-nitech";
15     repo = "SPTK";
16     rev = "v${version}";
17     hash = "sha256-lIyOcN2AR3ilUZ9stpicjbwlredbwgGPwmMICxZEijU=";
18   };
20   patches = [
21     # Fix gcc-13 build failure:
22     #   https://github.com/sp-nitech/SPTK/pull/57
23     (fetchpatch {
24       name = "gcc-13.patch";
25       url = "https://github.com/sp-nitech/SPTK/commit/060bc2ad7a753c1f9f9114a70d4c4337b91cb7e0.patch";
26       hash = "sha256-QfzpIS63LZyTHAaMGUZh974XLRNZLQG3om7ZJJ4RlgE=";
27     })
28   ];
30   nativeBuildInputs = [
31     cmake
32   ];
34   doCheck = true;
36   meta = with lib; {
37     changelog = "https://github.com/sp-nitech/SPTK/releases/tag/v${version}";
38     description = "Suite of speech signal processing tools";
39     homepage = "https://github.com/sp-nitech/SPTK";
40     license = licenses.asl20;
41     maintainers = with maintainers; [ fab ];
42   };