nixpkgs/pkgs/by-name/xv/xviewer/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

75 lines
1.1 KiB
Nix
Raw Normal View History

2021-01-29 20:17:13 +00:00
{ stdenv
, lib
, fetchFromGitHub
, docbook_xsl
, exempi
2021-01-29 20:17:13 +00:00
, gdk-pixbuf
, glib
, gobject-introspection
, gtk3
, gtk-doc
2021-01-29 20:17:13 +00:00
, itstool
, lcms2
, libexif
, libjpeg
, libpeas
, librsvg
2021-01-29 20:17:13 +00:00
, libxml2
, meson
, ninja
2021-01-29 20:17:13 +00:00
, pkg-config
, python3
, wrapGAppsHook3
, cinnamon
2021-11-29 16:34:50 +00:00
, yelp-tools
}:
2021-01-29 20:17:13 +00:00
stdenv.mkDerivation rec {
pname = "xviewer";
2024-06-19 12:58:52 +00:00
version = "3.4.5";
2021-01-29 20:17:13 +00:00
src = fetchFromGitHub {
owner = "linuxmint";
repo = pname;
rev = version;
2024-06-19 12:58:52 +00:00
sha256 = "sha256-J6KDkGPbcRBofsJVmd+1IEapSfSd3ftjz0AggvBI8ck=";
2021-01-29 20:17:13 +00:00
};
nativeBuildInputs = [
docbook_xsl
2021-01-29 20:17:13 +00:00
gobject-introspection
gtk-doc
itstool
meson
ninja
2021-01-29 20:17:13 +00:00
pkg-config
python3
wrapGAppsHook3
2021-01-29 20:17:13 +00:00
yelp-tools
];
buildInputs = [
exempi
gdk-pixbuf
2021-01-29 20:17:13 +00:00
glib
gtk3
lcms2
2021-01-29 20:17:13 +00:00
libexif
libjpeg
libpeas
librsvg
2021-01-29 20:17:13 +00:00
libxml2
cinnamon.cinnamon-desktop
cinnamon.xapp
2021-01-29 20:17:13 +00:00
];
meta = with lib; {
description = "Generic image viewer from Linux Mint";
mainProgram = "xviewer";
2021-01-29 20:17:13 +00:00
homepage = "https://github.com/linuxmint/xviewer";
license = licenses.gpl2Only;
platforms = platforms.linux;
maintainers = with maintainers; [ tu-maurice ] ++ teams.cinnamon.members;
2021-01-29 20:17:13 +00:00
};
}