17 aprilAsr = fetchFromGitHub {
21 rev = "3308e68442664552de593957cad0fa443ea183dd";
22 hash = "sha256-/cOZ2EcZu/Br9v0ComxnOegcEtlC9e8FYt3XHfah7mE=";
25 aprilModel = fetchurl {
26 name = "april-english-dev-01110_en.april";
27 url = "https://april.sapples.net/april-english-dev-01110_en.april";
28 hash = "sha256-d+uV0PpPdwijfoaMImUwHubELcsl5jymPuo9nLrbwfM=";
31 stdenv.mkDerivation (finalAttrs: {
32 pname = "livecaptions";
35 src = fetchFromGitHub {
37 repo = "LiveCaptions";
38 rev = "v${finalAttrs.version}";
39 hash = "sha256-x8NetSooIBlOKzKUMvDkPFtpD6EVGYECnaqWurySUDU=";
47 desktop-file-utils # update-desktop-database
59 rm -r source/subprojects/april-asr
60 ln -sf ${aprilAsr} source/subprojects/april-asr
65 --set APRIL_MODEL_PATH ${aprilModel}
70 description = "Linux Desktop application that provides live captioning";
71 homepage = "https://github.com/abb128/LiveCaptions";
72 license = licenses.gpl3Plus;
73 platforms = platforms.linux;
74 maintainers = with maintainers; [Scrumplex];
75 mainProgram = "livecaptions";