depot/third_party/nixpkgs/pkgs/desktops/mate/eom/default.nix
Default email 619d6dcc77 Project import generated by Copybara.
GitOrigin-RevId: 870959c7fb3a42af1863bed9e1756086a74eb649
2021-08-22 09:53:02 +02:00

44 lines
1.1 KiB
Nix

{ lib, stdenv, fetchurl, pkg-config, gettext, itstool, exempi, lcms2, libexif, libjpeg, librsvg, libxml2, libpeas, shared-mime-info, gtk3, mate, hicolor-icon-theme, wrapGAppsHook, mateUpdateScript }:
stdenv.mkDerivation rec {
pname = "eom";
version = "1.26.0";
src = fetchurl {
url = "https://pub.mate-desktop.org/releases/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "1nv7q0yw11grgxr5lyvll0f7fl823kpjp05z81bwgnvd76m6kw97";
};
nativeBuildInputs = [
pkg-config
gettext
itstool
wrapGAppsHook
];
buildInputs = [
exempi
lcms2
libexif
libjpeg
librsvg
libxml2
shared-mime-info
gtk3
libpeas
mate.mate-desktop
hicolor-icon-theme
];
enableParallelBuilding = true;
passthru.updateScript = mateUpdateScript { inherit pname version; };
meta = {
description = "An image viewing and cataloging program for the MATE desktop";
homepage = "https://mate-desktop.org";
license = lib.licenses.gpl2Plus;
platforms = lib.platforms.unix;
maintainers = [ lib.maintainers.romildo ];
};
}