2021-12-06 16:07:01 +00:00
|
|
|
{ stdenv
|
|
|
|
, lib
|
|
|
|
, fetchFromGitHub
|
|
|
|
, autoreconfHook
|
|
|
|
, cinnamon-desktop
|
|
|
|
, file
|
|
|
|
, gdk-pixbuf
|
|
|
|
, glib
|
|
|
|
, gobject-introspection
|
|
|
|
, gtk-doc
|
|
|
|
, gtk3
|
|
|
|
, intltool
|
|
|
|
, itstool
|
|
|
|
, libtool
|
|
|
|
, libxml2
|
|
|
|
, pkg-config
|
|
|
|
, shared-mime-info
|
|
|
|
, wrapGAppsHook
|
|
|
|
, xapps
|
|
|
|
, yelp-tools
|
|
|
|
, libsecret
|
|
|
|
, webkitgtk
|
|
|
|
, libwebp
|
|
|
|
, librsvg
|
|
|
|
, json-glib
|
|
|
|
, gnome
|
|
|
|
, clutter
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "pix";
|
2021-12-19 01:06:50 +00:00
|
|
|
version = "2.8.0";
|
2021-12-06 16:07:01 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "linuxmint";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2021-12-19 01:06:50 +00:00
|
|
|
sha256 = "sha256-m508pkbiSVuIaEx7EznOd5QTkpM66TBbpM5HRkjKRQA=";
|
2021-12-06 16:07:01 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
wrapGAppsHook
|
|
|
|
autoreconfHook
|
|
|
|
cinnamon-desktop
|
|
|
|
gdk-pixbuf
|
|
|
|
gnome.gnome-common
|
|
|
|
gobject-introspection
|
|
|
|
gtk-doc
|
|
|
|
intltool
|
|
|
|
itstool
|
|
|
|
libtool
|
|
|
|
pkg-config
|
|
|
|
yelp-tools
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
glib
|
|
|
|
gtk3
|
|
|
|
xapps
|
|
|
|
libsecret
|
|
|
|
webkitgtk
|
|
|
|
libwebp
|
|
|
|
librsvg
|
|
|
|
json-glib
|
|
|
|
clutter
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "A generic image viewer from Linux Mint";
|
|
|
|
homepage = "https://github.com/linuxmint/pix";
|
|
|
|
license = licenses.gpl2Only;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = teams.cinnamon.members;
|
|
|
|
};
|
|
|
|
}
|