Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib
2, stdenv
3, cmake
4, fetchFromGitHub
5}:
6
7stdenv.mkDerivation rec {
8 pname = "sptk";
9 version = "4.1";
10
11 src = fetchFromGitHub {
12 owner = "sp-nitech";
13 repo = "SPTK";
14 rev = "v${version}";
15 hash = "sha256-t8XVdKrrewfqefUnEz5xHgRHF0NThNQD1KGPMLOO/o8=";
16 };
17
18 nativeBuildInputs = [
19 cmake
20 ];
21
22 doCheck = true;
23
24 meta = with lib; {
25 changelog = "https://github.com/sp-nitech/SPTK/releases/tag/v${version}";
26 description = "Suite of speech signal processing tools";
27 homepage = "https://github.com/sp-nitech/SPTK";
28 license = licenses.asl20;
29 maintainers = with maintainers; [ fab ];
30 };
31}