Skip to content

Commit f60dbb6

Browse files
committed
teleprompter: init at 1.0.1
1 parent b440606 commit f60dbb6

File tree

1 file changed

+62
-0
lines changed

1 file changed

+62
-0
lines changed
Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
{
2+
lib,
3+
python3Packages,
4+
fetchFromGitHub,
5+
meson,
6+
ninja,
7+
pkg-config,
8+
wrapGAppsHook4,
9+
gettext,
10+
glib,
11+
desktop-file-utils,
12+
appstream-glib,
13+
gobject-introspection,
14+
libadwaita,
15+
nix-update-script,
16+
}:
17+
let
18+
version = "1.0.1";
19+
in
20+
python3Packages.buildPythonApplication {
21+
pname = "teleprompter";
22+
inherit version;
23+
pyproject = false;
24+
25+
src = fetchFromGitHub {
26+
owner = "Nokse22";
27+
repo = "teleprompter";
28+
tag = "v${version}";
29+
hash = "sha256-KnjZJbTM5EH/0aitqCtohE3Xy4ixOsDMthUn8kWjHq8=";
30+
};
31+
32+
nativeBuildInputs = [
33+
meson
34+
ninja
35+
pkg-config
36+
wrapGAppsHook4
37+
gettext
38+
glib
39+
desktop-file-utils
40+
appstream-glib
41+
gobject-introspection
42+
];
43+
44+
pythonPath = [ python3Packages.pygobject3 ];
45+
46+
buildInputs = [ libadwaita ];
47+
48+
dontWrapGApps = true;
49+
50+
makeWrapperArgs = [ "\${gappsWrapperArgs[@]}" ];
51+
52+
passthru.updateScript = nix-update-script { };
53+
54+
meta = {
55+
description = "Stay on track during speeches";
56+
homepage = "https://github.com/Nokse22/teleprompter";
57+
changelog = "https://github.com/Nokse22/teleprompter/releases/tag/v${version}";
58+
license = lib.licenses.gpl3Plus;
59+
mainProgram = "teleprompter";
60+
maintainers = [ lib.maintainers.awwpotato ];
61+
};
62+
}

0 commit comments

Comments
 (0)