nixpkgs/pkgs/desktops/cinnamon/xviewer/default.nix

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

76 lines
1.1 KiB
Nix
Raw Normal View History

2021-01-29 20:17:13 +00:00
{ stdenv
, lib
, fetchFromGitHub
, cinnamon-desktop
, 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
, xapp
2021-11-29 16:34:50 +00:00
, yelp-tools
}:
2021-01-29 20:17:13 +00:00
stdenv.mkDerivation rec {
pname = "xviewer";
version = "3.4.4";
2021-01-29 20:17:13 +00:00
src = fetchFromGitHub {
owner = "linuxmint";
repo = pname;
rev = version;
sha256 = "sha256-Kr3GoroQUzOePJiYeJYE9wrqWKcfX7ncu3tZSxOdnvU=";
2021-01-29 20:17:13 +00:00
};
nativeBuildInputs = [
cinnamon-desktop
docbook_xsl
2021-01-29 20:17:13 +00:00
gdk-pixbuf
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
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
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
};
}