nixpkgs/pkgs/desktops/mate/eom/default.nix

45 lines
1.1 KiB
Nix
Raw Normal View History

2021-04-02 12:58:16 -07:00
{ lib, stdenv, fetchurl, pkg-config, gettext, itstool, exempi, lcms2, libexif, libjpeg, librsvg, libxml2, libpeas, shared-mime-info, gtk3, mate, hicolor-icon-theme, wrapGAppsHook, mateUpdateScript }:
2017-08-10 20:14:26 -07:00
stdenv.mkDerivation rec {
pname = "eom";
2020-09-18 08:15:19 -07:00
version = "1.24.1";
2017-08-10 20:14:26 -07:00
src = fetchurl {
2021-01-15 05:21:58 -08:00
url = "https://pub.mate-desktop.org/releases/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
2020-09-18 08:15:19 -07:00
sha256 = "0dralsc0dvs0l38cysdhx6kiaiqlb8qi6g9xz2cm6mjqyq3d3f9f";
2017-08-10 20:14:26 -07:00
};
nativeBuildInputs = [
2021-01-16 18:21:50 -08:00
pkg-config
gettext
2017-08-10 20:14:26 -07:00
itstool
wrapGAppsHook
];
buildInputs = [
exempi
lcms2
libexif
libjpeg
librsvg
libxml2
shared-mime-info
gtk3
2019-03-22 21:50:12 -07:00
libpeas
2017-08-10 20:14:26 -07:00
mate.mate-desktop
hicolor-icon-theme
2017-08-10 20:14:26 -07:00
];
2020-02-14 13:52:51 -08:00
enableParallelBuilding = true;
2021-04-02 12:58:16 -07:00
passthru.updateScript = mateUpdateScript { inherit pname version; };
2017-08-10 20:14:26 -07:00
meta = {
description = "An image viewing and cataloging program for the MATE desktop";
2020-02-12 09:51:19 -08:00
homepage = "https://mate-desktop.org";
2021-01-15 05:21:58 -08:00
license = lib.licenses.gpl2;
platforms = lib.platforms.unix;
maintainers = [ lib.maintainers.romildo ];
2017-08-10 20:14:26 -07:00
};
}