2017-09-01 22:27:24 +02:00
|
|
|
{ stdenv, fetchurl, pkgconfig, intltool, gtk3, libxml2, libsecret, poppler, itstool, mate, hicolor_icon_theme, wrapGAppsHook }:
|
2017-06-18 11:39:59 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "atril-${version}";
|
|
|
|
version = "${major-ver}.${minor-ver}";
|
|
|
|
major-ver = "1.19";
|
|
|
|
minor-ver = "0";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://pub.mate-desktop.org/releases/${major-ver}/${name}.tar.xz";
|
|
|
|
sha256 = "0v829yvr738y5s2knyvimcgqv351qzb0rpw5il19qc27rbzyri1r";
|
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
pkgconfig
|
|
|
|
intltool
|
|
|
|
wrapGAppsHook
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
gtk3
|
|
|
|
itstool
|
|
|
|
libsecret
|
|
|
|
libxml2
|
|
|
|
poppler
|
2017-09-01 22:27:24 +02:00
|
|
|
hicolor_icon_theme
|
2017-06-18 11:39:59 +02:00
|
|
|
mate.mate-desktop
|
|
|
|
];
|
|
|
|
|
|
|
|
configureFlags = [ "--disable-caja" ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "A simple multi-page document viewer for the MATE desktop";
|
2017-08-01 22:03:30 +02:00
|
|
|
homepage = http://mate-desktop.org;
|
2017-06-18 11:39:59 +02:00
|
|
|
license = stdenv.lib.licenses.gpl2;
|
|
|
|
platforms = stdenv.lib.platforms.unix;
|
|
|
|
};
|
|
|
|
}
|