2021-11-23 03:03:53 +01: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
|
2022-07-27 06:05:17 +02:00
|
|
|
, xapp
|
2021-11-23 03:03:53 +01:00
|
|
|
, yelp-tools
|
|
|
|
, libsecret
|
|
|
|
, webkitgtk
|
|
|
|
, libwebp
|
|
|
|
, librsvg
|
|
|
|
, json-glib
|
|
|
|
, gnome
|
|
|
|
, clutter
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "pix";
|
2022-12-16 14:42:49 +01:00
|
|
|
version = "2.8.9";
|
2021-11-23 03:03:53 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "linuxmint";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2022-12-16 14:42:49 +01:00
|
|
|
sha256 = "sha256-7g0j1cWgNtWlqKWzBnngUA2WNr8Zh8YO/jJ8OdTII7Y=";
|
2021-11-23 03:03:53 +01: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
|
2022-07-27 06:05:17 +02:00
|
|
|
xapp
|
2021-11-23 03:03:53 +01:00
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|