1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-11 23:24:35 +00:00
nixpkgs/pkgs/desktops/mate/atril/default.nix

45 lines
1.1 KiB
Nix
Raw Normal View History

{ stdenv, fetchurl, pkgconfig, gettext, gtk3, glib, libxml2, libsecret, poppler, itstool, hicolor-icon-theme, texlive, mate, wrapGAppsHook }:
2017-06-18 10:39:59 +01:00
stdenv.mkDerivation rec {
pname = "atril";
2020-02-12 17:51:18 +00:00
version = "1.24.0";
2017-06-18 10:39:59 +01:00
src = fetchurl {
url = "https://pub.mate-desktop.org/releases/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
2020-02-12 17:51:18 +00:00
sha256 = "0967gxw7h2qh2kpwl0jgv58hicz6aa92kr12mnykbpikad25s95y";
2017-06-18 10:39:59 +01:00
};
nativeBuildInputs = [
pkgconfig
gettext
2017-06-18 10:39:59 +01:00
wrapGAppsHook
];
buildInputs = [
gtk3
glib
2017-06-18 10:39:59 +01:00
itstool
libsecret
libxml2
poppler
mate.caja
mate.mate-desktop
hicolor-icon-theme
2020-02-12 17:51:18 +00:00
texlive.bin.core # for synctex, used by the pdf back-end
2017-06-18 10:39:59 +01:00
];
NIX_CFLAGS_COMPILE = "-I${glib.dev}/include/gio-unix-2.0";
2018-01-08 18:00:54 +00:00
makeFlags = [ "cajaextensiondir=$$out/lib/caja/extensions-2.0" ];
2020-02-14 21:52:51 +00:00
enableParallelBuilding = true;
2020-02-12 18:01:21 +00:00
meta = with stdenv.lib; {
2017-06-18 10:39:59 +01:00
description = "A simple multi-page document viewer for the MATE desktop";
2020-02-12 17:51:18 +00:00
homepage = "https://mate-desktop.org";
2020-02-12 18:01:21 +00:00
license = licenses.gpl2;
platforms = platforms.unix;
maintainers = [ maintainers.romildo ];
2017-06-18 10:39:59 +01:00
};
}