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