Skip to content

Commit 0798139

Browse files
committed
binary: init at 0.3
1 parent f3e3fe7 commit 0798139

File tree

1 file changed

+55
-0
lines changed

1 file changed

+55
-0
lines changed

pkgs/by-name/bi/binary/package.nix

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
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+
}

0 commit comments

Comments
 (0)