Commit Graph

16 Commits

Author SHA1 Message Date
R. Ryantm
bca8ed0d63 kaldi: unstable-2023-11-13 -> unstable-2024-01-31 2024-02-03 02:19:19 +00:00
R. Ryantm
40003254a3 kaldi: unstable-2023-10-13 -> unstable-2023-11-13 2023-11-20 07:11:18 +01:00
R. Ryantm
904decfcce kaldi: unstable-2023-05-02 -> unstable-2023-10-13 2023-10-29 01:13:41 +00:00
figsoda
3ef3b08083 pkgs/tools/audio: remove dead code 2023-07-25 10:28:26 -04:00
Jan Tojnar
2024f7d11d kaldi: unstable-2022-09-26 → unstable-2023-05-02
f6f4ccaf21..71f38e62ca
2023-06-06 22:02:36 +02:00
Jan Tojnar
5abf11a956 kaldi: Add update script
Also switch to finalAttrs so that the values can be easily overridden.
2023-06-06 22:02:36 +02:00
Jan Tojnar
e8588071cc kaldi: Remove openfst from inputs
It is shadowed by fetchgit source and can only be used vendored.
2023-06-06 22:02:36 +02:00
Jan Tojnar
34711ba5cf kaldi: Fix build
It looks like after a bump, CMake started passing `--git-dir=.git` as the first argument of `git rev-parse`.
But we do not really need to spoof `git` program now that Kaldi uses CMake’s `FetchContent` module.
We can just pass the path using configure flag directly:

https://cmake.org/cmake/help/latest/module/FetchContent.html#variable:FETCHCONTENT_SOURCE_DIR_%3CuppercaseName%3E

Git was also inadvertently used for generating `KALDI_PATCH_NUMBER`
in `VersionHelper`, to be potentially appended to `KALDI_VERSION`
but it was not actually being done by default.
We can set the variable directly to skip `VersionHelper`.

Also remove redundant `enableParallelBuild` since CMake enables it.

And drop separate `dev` output since Kaldi currently hardcodes
the `include/` directory so consumers would not be able to find them.
Splitting it out only removes 7 out of 303 MB.
2023-06-06 22:02:36 +02:00
Jörg Thalheim
dd647368ff kaldi: 2021-12-03 -> 2022-09-26 2022-11-27 13:21:41 +01:00
Mario Rodas
4aaf5378d8 kaldi: fix build on darwin 2022-10-20 04:20:00 +00:00
Jörg Thalheim
cd142455e7 kaldi: enable parallel building 2021-12-03 19:12:59 +01:00
Jörg Thalheim
6d660b27e1 kaldi: 2020-12-26 -> 2021-12-03 2021-12-03 19:10:03 +01:00
junji hashimoto
c1d2660765
Update pkgs/tools/audio/kaldi/default.nix
Co-authored-by: Jörg Thalheim <Mic92@users.noreply.github.com>
2021-09-24 20:13:36 +09:00
Junji Hashimoto
e1ce3b2eec kaldi: fix build 2021-09-24 09:07:42 +00:00
Profpatsch
4a7f99d55d treewide: with stdenv.lib; in meta -> with lib;
Part of: https://github.com/NixOS/nixpkgs/issues/108938

meta = with stdenv.lib;

is a widely used pattern. We want to slowly remove
the `stdenv.lib` indirection and encourage people
to use `lib` directly. Thus let’s start with the meta
field.

This used a rewriting script to mostly automatically
replace all occurances of this pattern, and add the
`lib` argument to the package header if it doesn’t
exist yet.

The script in its current form is available at
https://cs.tvl.fyi/depot@2f807d7f141068d2d60676a89213eaa5353ca6e0/-/blob/users/Profpatsch/nixpkgs-rewriter/default.nix
2021-01-11 10:38:22 +01:00
Jörg Thalheim
e03e3c5fad
kaldi: init at 2020-12-26
State-of-the-art speech-to-text engine - used in rhasspy

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2021-01-01 11:07:37 +01:00