2019-01-16 00:36:19 +01:00
|
|
|
{ stdenv, fetchurl, pkgconfig, intltool, gtk3, glib, libxml2, libsecret, poppler, itstool, hicolor-icon-theme, mate, wrapGAppsHook }:
|
2017-06-18 11:39:59 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "atril-${version}";
|
2019-04-22 21:23:23 +02:00
|
|
|
version = "1.22.1";
|
2017-06-18 11:39:59 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-04-21 17:40:55 +02:00
|
|
|
url = "https://pub.mate-desktop.org/releases/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
|
2019-04-22 21:23:23 +02:00
|
|
|
sha256 = "0i2wgsksgwhrmajj1lay3iym4dcyj8cdd813yh5mrfz4rkv49190";
|
2017-06-18 11:39:59 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
pkgconfig
|
|
|
|
intltool
|
|
|
|
wrapGAppsHook
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
gtk3
|
2019-01-16 00:36:19 +01:00
|
|
|
glib
|
2017-06-18 11:39:59 +02:00
|
|
|
itstool
|
|
|
|
libsecret
|
|
|
|
libxml2
|
|
|
|
poppler
|
2018-02-13 23:44:07 +01:00
|
|
|
mate.caja
|
|
|
|
mate.mate-desktop
|
2018-02-25 03:23:58 +01:00
|
|
|
hicolor-icon-theme
|
2017-06-18 11:39:59 +02:00
|
|
|
];
|
2019-01-16 00:36:19 +01:00
|
|
|
|
|
|
|
NIX_CFLAGS_COMPILE = "-I${glib.dev}/include/gio-unix-2.0";
|
|
|
|
|
2018-01-08 19:00:54 +01:00
|
|
|
makeFlags = [ "cajaextensiondir=$$out/lib/caja/extensions-2.0" ];
|
|
|
|
|
2017-06-18 11:39:59 +02:00
|
|
|
meta = {
|
|
|
|
description = "A simple multi-page document viewer for the MATE desktop";
|
2019-04-15 01:25:45 +02:00
|
|
|
homepage = https://mate-desktop.org;
|
2017-06-18 11:39:59 +02:00
|
|
|
license = stdenv.lib.licenses.gpl2;
|
|
|
|
platforms = stdenv.lib.platforms.unix;
|
|
|
|
};
|
|
|
|
}
|