2024-03-25 19:54:40 -04:00
|
|
|
{
|
|
|
|
autoreconfHook,
|
|
|
|
bison,
|
|
|
|
fetchFromGitHub,
|
|
|
|
pkg-config,
|
|
|
|
python3,
|
|
|
|
stdenv,
|
|
|
|
swig2,
|
|
|
|
...
|
|
|
|
}:
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "sphinxbase";
|
2024-03-25 22:42:23 -04:00
|
|
|
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=";
|
|
|
|
};
|
2024-03-29 23:04:52 -04:00
|
|
|
|
|
|
|
postFixup = ''
|
|
|
|
cp $out/include/sphinxbase/* $out/include/
|
|
|
|
'';
|
2024-03-25 19:54:40 -04:00
|
|
|
}
|