Skip to content

Commit 73744e7

Browse files
armijnhemelpSub
authored andcommittedJun 18, 2017
atril: init at 1.19.0 (#25765)
1 parent 78b34f9 commit 73744e7

File tree

2 files changed

+38
-0
lines changed

2 files changed

+38
-0
lines changed
 

Diff for: ‎pkgs/desktops/mate/atril/default.nix

+37
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
{ stdenv, fetchurl, pkgconfig, intltool, gtk3, libxml2, libsecret, poppler, itstool, mate, wrapGAppsHook }:
2+
3+
stdenv.mkDerivation rec {
4+
name = "atril-${version}";
5+
version = "${major-ver}.${minor-ver}";
6+
major-ver = "1.19";
7+
minor-ver = "0";
8+
9+
src = fetchurl {
10+
url = "http://pub.mate-desktop.org/releases/${major-ver}/${name}.tar.xz";
11+
sha256 = "0v829yvr738y5s2knyvimcgqv351qzb0rpw5il19qc27rbzyri1r";
12+
};
13+
14+
nativeBuildInputs = [
15+
pkgconfig
16+
intltool
17+
wrapGAppsHook
18+
];
19+
20+
buildInputs = [
21+
gtk3
22+
itstool
23+
libsecret
24+
libxml2
25+
poppler
26+
mate.mate-desktop
27+
];
28+
29+
configureFlags = [ "--disable-caja" ];
30+
31+
meta = {
32+
description = "A simple multi-page document viewer for the MATE desktop";
33+
homepage = "http://mate-desktop.org";
34+
license = stdenv.lib.licenses.gpl2;
35+
platforms = stdenv.lib.platforms.unix;
36+
};
37+
}

Diff for: ‎pkgs/desktops/mate/default.nix

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{ callPackage, pkgs }:
22
rec {
3+
atril = callPackage ./atril { };
34
caja = callPackage ./caja { };
45
mate-common = callPackage ./mate-common { };
56
mate-desktop = callPackage ./mate-desktop { };

0 commit comments

Comments
 (0)
Please sign in to comment.