File tree Expand file tree Collapse file tree 1 file changed +62
-0
lines changed
pkgs/by-name/te/teleprompter Expand file tree Collapse file tree 1 file changed +62
-0
lines changed Original file line number Diff line number Diff line change 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+ }
You can’t perform that action at this time.
0 commit comments