nixos-configs/devices/nos/modules/subtitles/syncing/subsync/sphinxbase.nix

33 lines
597 B
Nix
Raw Normal View History

2024-03-25 19:54:40 -04:00
{
autoreconfHook,
bison,
fetchFromGitHub,
pkg-config,
python3,
stdenv,
swig2,
...
}:
stdenv.mkDerivation {
name = "sphinxbase";
version = "5prealpha"; # Deprecated
2024-03-25 19:54:40 -04:00
buildInputs = [bison pkg-config python3 swig2];
nativeBuildInputs = [autoreconfHook];
autoreconfPhase = ''
./autogen.sh
'';
src = fetchFromGitHub {
owner = "cmusphinx";
repo = "sphinxbase";
rev = "617e53691889336a482631380f75b453445d0dae";
hash = "sha256-w/Huz4+crTzdiSyQVAx0h3lhtTTrtPyKp3xpQD5EG9g=";
};
postFixup = ''
cp $out/include/sphinxbase/* $out/include/
'';
2024-03-25 19:54:40 -04:00
}