2018-02-25 02:23:58 +00:00
|
|
|
{ stdenv, fetchurl, pkgconfig, intltool, gtk3, libxml2, libsecret, poppler, itstool, hicolor-icon-theme, mate, wrapGAppsHook }:
|
2017-06-18 10:39:59 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "atril-${version}";
|
2018-02-14 01:22:51 +00:00
|
|
|
version = "1.20.0";
|
2017-06-18 10:39:59 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2018-02-13 22:44:07 +00:00
|
|
|
url = "https://pub.mate-desktop.org/releases/${mate.getRelease version}/${name}.tar.xz";
|
2018-02-14 01:22:51 +00:00
|
|
|
sha256 = "1639jxcdhcn5wvb4gj9xncdj5d5c3rnyydwwsgqj66cmfmb53l1n";
|
2017-06-18 10:39:59 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
pkgconfig
|
|
|
|
intltool
|
|
|
|
wrapGAppsHook
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
gtk3
|
|
|
|
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
|
2017-06-18 10:39:59 +01:00
|
|
|
];
|
|
|
|
|
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";
|
2017-08-01 21:03:30 +01:00
|
|
|
homepage = http://mate-desktop.org;
|
2017-06-18 10:39:59 +01:00
|
|
|
license = stdenv.lib.licenses.gpl2;
|
|
|
|
platforms = stdenv.lib.platforms.unix;
|
|
|
|
};
|
|
|
|
}
|