nixos-configs/devices/nos/modules/subtitles/subsync/sphinxbase.nix
matt1432 a7b7966d52
All checks were successful
Discord / discord commits (push) Has been skipped
refactor: improve custom packages' versioning
2024-03-25 22:42:23 -04:00

28 lines
526 B
Nix

{
autoreconfHook,
bison,
fetchFromGitHub,
pkg-config,
python3,
stdenv,
swig2,
...
}:
stdenv.mkDerivation {
name = "sphinxbase";
version = "5prealpha"; # Deprecated
buildInputs = [bison pkg-config python3 swig2];
nativeBuildInputs = [autoreconfHook];
autoreconfPhase = ''
./autogen.sh
'';
src = fetchFromGitHub {
owner = "cmusphinx";
repo = "sphinxbase";
rev = "617e53691889336a482631380f75b453445d0dae";
hash = "sha256-w/Huz4+crTzdiSyQVAx0h3lhtTTrtPyKp3xpQD5EG9g=";
};
}