Skip to content

Instantly share code, notes, and snippets.

@shapr
Last active June 6, 2021 23:07
Show Gist options
  • Save shapr/26d6ee7d0c556ace2eef1bf496921773 to your computer and use it in GitHub Desktop.
Save shapr/26d6ee7d0c556ace2eef1bf496921773 to your computer and use it in GitHub Desktop.
julius.nix
{ lib, stdenv
, SDL2
, alsaLib
, autoconf
, automake
, cmake
, gcc
, git
, lapack
, libpulseaudio
, libtool
, perl
, pkgconfig
, wget
, zlib
, fetchFromGitHub }:
stdenv.mkDerivation rec {
pname = "julius";
version = "4.6";
src = fetchFromGitHub {
owner = "julius-speech";
repo = pname;
rev = "3b7174d0d4091f5e6ebb917769822032d079996f";
sha256 = "1zf0y2v7h507gf1b3r8qqjapis1kkhjzd5msnzj3js17bwbx43cg";
};
configureFlags = [ "--enable-words-int" ];
dontUseCmakeConfigure = true;
enableParallelBuilding = true;
buildInputs = [
lapack
libtool
zlib
];
nativeBuildInputs = [
SDL2
alsaLib
autoconf
automake
cmake
gcc
git
libpulseaudio
perl
pkgconfig
wget
];
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment