18 aprilAsr = fetchFromGitHub {
22 rev = "3308e68442664552de593957cad0fa443ea183dd";
23 hash = "sha256-/cOZ2EcZu/Br9v0ComxnOegcEtlC9e8FYt3XHfah7mE=";
26 stdenv.mkDerivation (finalAttrs: {
27 pname = "livecaptions";
30 src = fetchFromGitHub {
32 repo = "LiveCaptions";
33 rev = "v${finalAttrs.version}";
34 hash = "sha256-bLWJQgZopuQ0t2pexazUTj1+C2weRMrL3PUhIHZ0W5M=";
38 name = "april-english-dev-01110_en.april";
39 url = "https://april.sapples.net/april-english-dev-01110_en.april";
40 hash = "sha256-d+uV0PpPdwijfoaMImUwHubELcsl5jymPuo9nLrbwfM=";
48 appstream-glib # appstreamcli
49 desktop-file-utils # update-desktop-database
61 rm -r source/subprojects/april-asr
62 ln -s ${aprilAsr} source/subprojects/april-asr
67 --set APRIL_MODEL_PATH ${finalAttrs.model}
72 description = "Linux Desktop application that provides live captioning";
73 homepage = "https://github.com/abb128/LiveCaptions";
74 license = licenses.gpl3Plus;
75 platforms = platforms.linux;
76 maintainers = with maintainers; [Scrumplex];
77 mainProgram = "livecaptions";