Merge pull request #329823 from ExpidusOS/fix/pkgsllvm/elfutils
[NixPkgs.git] / pkgs / by-name / ex / exhibit / package.nix
blob73fe811026320a9f6cea2c13900eba405c118387
2   lib,
3   python3Packages,
4   fetchFromGitHub,
5   meson,
6   ninja,
7   pkg-config,
8   gobject-introspection,
9   wrapGAppsHook4,
10   desktop-file-utils,
11   libadwaita,
14 python3Packages.buildPythonApplication rec {
15   pname = "exhibit";
16   version = "1.2.0";
17   pyproject = false; # Built with meson
19   src = fetchFromGitHub {
20     owner = "Nokse22";
21     repo = "Exhibit";
22     rev = "v${version}";
23     hash = "sha256-yNS6q7XbWda2+so9QRS/c4uYaVPo7b4JCite5nzc3Eo=";
24   };
26   nativeBuildInputs = [
27     meson
28     ninja
29     pkg-config
30     gobject-introspection
31     wrapGAppsHook4
32     desktop-file-utils
33   ];
35   buildInputs = [ libadwaita ];
37   dependencies = with python3Packages; [
38     pygobject3
39     f3d_egl
40   ];
42   dontWrapGApps = true;
44   preFixup = ''
45     makeWrapperArgs+=("''${gappsWrapperArgs[@]}")
46   '';
48   meta = {
49     description = "3D model viewer for the GNOME desktop powered by f3d";
50     homepage = "https://github.com/Nokse22/Exhibit";
51     license = with lib.licenses; [
52       gpl3Plus
53       cc0
54     ];
55     mainProgram = "exhibit";
56     maintainers = with lib.maintainers; [ aleksana ];
57     platforms = lib.platforms.linux;
58   };