Merge pull request #329823 from ExpidusOS/fix/pkgsllvm/elfutils
[NixPkgs.git] / pkgs / by-name / bi / binary / package.nix
blobfef93db98987032bd3313da3cc4766b46d9da172
2   lib,
3   fetchFromGitHub,
4   python3Packages,
5   appstream,
6   blueprint-compiler,
7   desktop-file-utils,
8   glib,
9   gobject-introspection,
10   libadwaita,
11   meson,
12   ninja,
13   pkg-config,
14   wrapGAppsHook4,
17 python3Packages.buildPythonApplication rec {
18   pname = "binary";
19   version = "0.3.1";
20   format = "other";
22   src = fetchFromGitHub {
23     owner = "fizzyizzy05";
24     repo = "binary";
25     rev = "refs/tags/${version}";
26     hash = "sha256-4Ep7d5grMXCCy9tL8wquJsx13jVIp+piDPeJh6mYFpI=";
27   };
29   nativeBuildInputs = [
30     appstream
31     blueprint-compiler
32     desktop-file-utils
33     glib # need glib-compile-schemas
34     gobject-introspection
35     meson
36     ninja
37     pkg-config
38     wrapGAppsHook4
39   ];
41   buildInputs = [ libadwaita ];
43   dependencies = with python3Packages; [ pygobject3 ];
45   dontWrapGApps = true;
46   makeWrapperArgs = [ "\${gappsWrapperArgs[@]}" ];
48   meta = {
49     description = "Small and simple app to convert numbers to a different base";
50     homepage = "https://github.com/fizzyizzy05/binary";
51     changelog = "https://github.com/fizzyizzy05/binary/releases/tag/${version}";
52     license = lib.licenses.gpl3Plus;
53     maintainers = with lib.maintainers; [ getchoo ];
54     mainProgram = "binary";
55     platforms = lib.platforms.linux;
56   };