File tree Expand file tree Collapse file tree 1 file changed +60
-0
lines changed
pkgs/by-name/po/poliedros Expand file tree Collapse file tree 1 file changed +60
-0
lines changed Original file line number Diff line number Diff line change 1+ {
2+ lib ,
3+ python3Packages ,
4+ fetchFromGitHub ,
5+ ninja ,
6+ meson ,
7+ pkg-config ,
8+ wrapGAppsHook4 ,
9+ glib ,
10+ desktop-file-utils ,
11+ appstream-glib ,
12+ gobject-introspection ,
13+ libadwaita ,
14+ nix-update-script ,
15+ } :
16+ let
17+ version = "1.0.1" ;
18+ in
19+ python3Packages . buildPythonApplication {
20+ pname = "poliedros" ;
21+ inherit version ;
22+ pyproject = false ;
23+
24+ src = fetchFromGitHub {
25+ owner = "kriptolix" ;
26+ repo = "Poliedros" ;
27+ tag = "v${ version } " ;
28+ hash = "sha256-1lYEsfyl6ckH1TmMLRP+flnm77INiA8ntnGVWnwpLvs=" ;
29+ } ;
30+
31+ nativeBuildInputs = [
32+ meson
33+ ninja
34+ pkg-config
35+ wrapGAppsHook4
36+ glib
37+ desktop-file-utils
38+ appstream-glib
39+ gobject-introspection
40+ ] ;
41+
42+ pythonPath = [ python3Packages . pygobject3 ] ;
43+
44+ buildInputs = [ libadwaita ] ;
45+
46+ dontWrapGApps = true ;
47+
48+ makeWrapperArgs = [ "\ ${gappsWrapperArgs[@]}" ] ;
49+
50+ passthru . updateScript = nix-update-script { } ;
51+
52+ meta = {
53+ description = "Multi-type dice roller" ;
54+ homepage = "https://github.com/kriptolix/Poliedros" ;
55+ changelog = "https://github.com/kriptolix/Poliedros/releases/tag/v${ version } " ;
56+ license = lib . licenses . gpl3Plus ;
57+ mainProgram = "poliedros" ;
58+ maintainers = [ lib . maintainers . awwpotato ] ;
59+ } ;
60+ }
You can’t perform that action at this time.
0 commit comments