2020-02-12 17:51:18 +00:00
|
|
|
{ stdenv, fetchurl, pkgconfig, intltool, gtk3, glib, libxml2, libsecret, poppler, itstool, hicolor-icon-theme, texlive, mate, wrapGAppsHook }:
|
2017-06-18 10:39:59 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "atril";
|
2020-02-12 17:51:18 +00:00
|
|
|
version = "1.24.0";
|
2017-06-18 10:39:59 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-08-15 13:41:18 +01:00
|
|
|
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
|
|
|
|
intltool
|
|
|
|
wrapGAppsHook
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
gtk3
|
2019-01-15 23:36:19 +00:00
|
|
|
glib
|
2017-06-18 10:39:59 +01:00
|
|
|
itstool
|
|
|
|
libsecret
|
|
|
|
libxml2
|
|
|
|
poppler
|
2018-02-13 22:44:07 +00:00
|
|
|
mate.caja
|
|
|
|
mate.mate-desktop
|
2018-02-25 02:23:58 +00:00
|
|
|
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
|
|
|
];
|
2019-01-15 23:36:19 +00: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" ];
|
|
|
|
|
2017-06-18 10:39:59 +01:00
|
|
|
meta = {
|
|
|
|
description = "A simple multi-page document viewer for the MATE desktop";
|
2020-02-12 17:51:18 +00:00
|
|
|
homepage = "https://mate-desktop.org";
|
2017-06-18 10:39:59 +01:00
|
|
|
license = stdenv.lib.licenses.gpl2;
|
|
|
|
platforms = stdenv.lib.platforms.unix;
|
|
|
|
};
|
|
|
|
}
|