depot/third_party/nixpkgs/pkgs/by-name/xv/xviewer/package.nix
Default email 159e378cbb Project import generated by Copybara.
GitOrigin-RevId: c04d5652cfa9742b1d519688f65d1bbccea9eb7e
2024-09-19 17:19:46 +03:00

75 lines
1.1 KiB
Nix

{ stdenv
, lib
, fetchFromGitHub
, docbook_xsl
, exempi
, gdk-pixbuf
, glib
, gobject-introspection
, gtk3
, gtk-doc
, itstool
, lcms2
, libexif
, libjpeg
, libpeas
, librsvg
, libxml2
, meson
, ninja
, pkg-config
, python3
, wrapGAppsHook3
, cinnamon-desktop
, yelp-tools
, xapp
}:
stdenv.mkDerivation rec {
pname = "xviewer";
version = "3.4.6";
src = fetchFromGitHub {
owner = "linuxmint";
repo = pname;
rev = version;
hash = "sha256-J1IlgHKyNGJTn1sIU3q02eTgWqyeRm2leFIhtKPIdhg=";
};
nativeBuildInputs = [
docbook_xsl
gobject-introspection
gtk-doc
itstool
meson
ninja
pkg-config
python3
wrapGAppsHook3
yelp-tools
];
buildInputs = [
cinnamon-desktop
exempi
gdk-pixbuf
glib
gtk3
lcms2
libexif
libjpeg
libpeas
librsvg
libxml2
xapp
];
meta = with lib; {
description = "Generic image viewer from Linux Mint";
mainProgram = "xviewer";
homepage = "https://github.com/linuxmint/xviewer";
license = licenses.gpl2Only;
platforms = platforms.linux;
maintainers = with maintainers; [ tu-maurice ] ++ teams.cinnamon.members;
};
}