exhibit: init at 1.2.0
This commit is contained in:
parent
7bd1f036c4
commit
504a78dcc7
59
pkgs/by-name/ex/exhibit/package.nix
Normal file
59
pkgs/by-name/ex/exhibit/package.nix
Normal file
@ -0,0 +1,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
|
||||||
|
];
|
||||||
|
|
||||||
|
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;
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user