3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/desktops/cinnamon/xviewer/default.nix

72 lines
1.1 KiB
Nix
Raw Normal View History

2021-01-29 20:17:13 +00:00
{ stdenv
, lib
, fetchFromGitHub
, autoreconfHook
, cinnamon-desktop
, file
, gdk-pixbuf
, glib
, gobject-introspection
, gtk-doc
, gtk3
, intltool
, itstool
, lcms2
, libexif
, libjpeg
, libpeas
, libtool
, libxml2
, pkg-config
, shared-mime-info
, wrapGAppsHook
, xapps
2021-11-29 16:34:50 +00:00
, yelp-tools
}:
2021-01-29 20:17:13 +00:00
stdenv.mkDerivation rec {
pname = "xviewer";
2021-12-12 06:12:38 +00:00
version = "3.2.2";
2021-01-29 20:17:13 +00:00
src = fetchFromGitHub {
owner = "linuxmint";
repo = pname;
rev = version;
2021-12-12 06:12:38 +00:00
sha256 = "sha256-FFRms4yh7TQ/O3ee7igeIslimSWLhue3BE1xCrJ3NQ4=";
2021-01-29 20:17:13 +00:00
};
nativeBuildInputs = [
wrapGAppsHook
autoreconfHook
cinnamon-desktop
gdk-pixbuf
gobject-introspection
gtk-doc
intltool
itstool
libtool
pkg-config
yelp-tools
];
buildInputs = [
glib
gtk3
libexif
libjpeg
libpeas
libxml2
shared-mime-info
xapps
lcms2
];
meta = with lib; {
description = "A generic image viewer from Linux Mint";
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
};
}