File tree Expand file tree Collapse file tree 1 file changed +55
-0
lines changed Expand file tree Collapse file tree 1 file changed +55
-0
lines changed Original file line number Diff line number Diff line change 1+ {
2+ lib ,
3+ fetchFromGitHub ,
4+ python3Packages ,
5+ appstream ,
6+ desktop-file-utils ,
7+ glib ,
8+ gobject-introspection ,
9+ libadwaita ,
10+ meson ,
11+ ninja ,
12+ pkg-config ,
13+ wrapGAppsHook4 ,
14+ } :
15+
16+ python3Packages . buildPythonApplication rec {
17+ pname = "binary" ;
18+ version = "0.3" ;
19+ format = "other" ;
20+
21+ src = fetchFromGitHub {
22+ owner = "fizzyizzy05" ;
23+ repo = "binary" ;
24+ rev = "refs/tags/${ version } " ;
25+ hash = "sha256-bR0oCqbnyUTCueT4f0Ij7qbwjNnN4eMDAOUK9MnCEJ0=" ;
26+ } ;
27+
28+ nativeBuildInputs = [
29+ appstream
30+ desktop-file-utils
31+ glib # need glib-compile-schemas
32+ gobject-introspection
33+ meson
34+ ninja
35+ pkg-config
36+ wrapGAppsHook4
37+ ] ;
38+
39+ buildInputs = [ libadwaita ] ;
40+
41+ dependencies = with python3Packages ; [ pygobject3 ] ;
42+
43+ dontWrapGApps = true ;
44+ makeWrapperArgs = [ "\ ${gappsWrapperArgs[@]}" ] ;
45+
46+ meta = {
47+ description = "Small and simple app to convert numbers to a different base" ;
48+ homepage = "https://github.com/fizzyizzy05/binary" ;
49+ changelog = "https://github.com/fizzyizzy05/binary/releases/tag/${ version } " ;
50+ license = lib . licenses . gpl3Plus ;
51+ maintainers = with lib . maintainers ; [ getchoo ] ;
52+ mainProgram = "binary" ;
53+ platforms = lib . platforms . linux ;
54+ } ;
55+ }
You can’t perform that action at this time.
0 commit comments