diff options
author | armijnhemel <armijnhemel@users.noreply.github.com> | 2017-06-18 11:39:59 +0200 |
---|---|---|
committer | Pascal Wittmann <PascalWittmann@gmx.net> | 2017-06-18 11:39:59 +0200 |
commit | 73744e700c5a42b81cdd1c99fc1910a4159d9b94 (patch) | |
tree | 9513b813b1caa985a9c61bbdab501ee6c39f2ea4 /pkgs/desktops | |
parent | 78b34f913be0c4a4c6bf83736908c10ce14e9f39 (diff) |
atril: init at 1.19.0 (#25765)
Diffstat (limited to 'pkgs/desktops')
-rw-r--r-- | pkgs/desktops/mate/atril/default.nix | 37 | ||||
-rw-r--r-- | pkgs/desktops/mate/default.nix | 1 |
2 files changed, 38 insertions, 0 deletions
diff --git a/pkgs/desktops/mate/atril/default.nix b/pkgs/desktops/mate/atril/default.nix new file mode 100644 index 0000000000000..197c5470d2bd7 --- /dev/null +++ b/pkgs/desktops/mate/atril/default.nix @@ -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; + }; +} diff --git a/pkgs/desktops/mate/default.nix b/pkgs/desktops/mate/default.nix index d9565e8f4d1a9..528f792a600d1 100644 --- a/pkgs/desktops/mate/default.nix +++ b/pkgs/desktops/mate/default.nix @@ -1,5 +1,6 @@ { callPackage, pkgs }: rec { + atril = callPackage ./atril { }; caja = callPackage ./caja { }; mate-common = callPackage ./mate-common { }; mate-desktop = callPackage ./mate-desktop { }; |