3
0
Fork 0
forked from mirrors/nixpkgs

atril: init at 1.19.0 (#25765)

This commit is contained in:
armijnhemel 2017-06-18 11:39:59 +02:00 committed by Pascal Wittmann
parent 78b34f913b
commit 73744e700c
2 changed files with 38 additions and 0 deletions

View file

@ -0,0 +1,37 @@
{ stdenv, fetchurl, pkgconfig, intltool, gtk3, libxml2, libsecret, poppler, itstool, mate, wrapGAppsHook }:
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
mate.mate-desktop
];
configureFlags = [ "--disable-caja" ];
meta = {
description = "A simple multi-page document viewer for the MATE desktop";
homepage = "http://mate-desktop.org";
license = stdenv.lib.licenses.gpl2;
platforms = stdenv.lib.platforms.unix;
};
}

View file

@ -1,5 +1,6 @@
{ callPackage, pkgs }:
rec {
atril = callPackage ./atril { };
caja = callPackage ./caja { };
mate-common = callPackage ./mate-common { };
mate-desktop = callPackage ./mate-desktop { };