1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-02 10:31:36 +00:00
nixpkgs/pkgs/desktops/mate/atril/default.nix

41 lines
994 B
Nix
Raw Normal View History

{ stdenv, fetchurl, pkgconfig, intltool, gtk3, glib, libxml2, libsecret, poppler, itstool, hicolor-icon-theme, mate, wrapGAppsHook }:
2017-06-18 10:39:59 +01:00
stdenv.mkDerivation rec {
pname = "atril";
2019-09-17 16:08:41 +01:00
version = "1.22.2";
2017-06-18 10:39:59 +01:00
src = fetchurl {
url = "https://pub.mate-desktop.org/releases/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
2019-09-17 16:08:41 +01:00
sha256 = "11l78zkxszvsjr74cmk1wff5ycqrzd89y6k36rydv2rb5af2nsfw";
2017-06-18 10:39:59 +01:00
};
nativeBuildInputs = [
pkgconfig
intltool
wrapGAppsHook
];
buildInputs = [
gtk3
glib
2017-06-18 10:39:59 +01:00
itstool
libsecret
libxml2
poppler
mate.caja
mate.mate-desktop
hicolor-icon-theme
2017-06-18 10:39:59 +01:00
];
NIX_CFLAGS_COMPILE = "-I${glib.dev}/include/gio-unix-2.0";
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";
homepage = https://mate-desktop.org;
2017-06-18 10:39:59 +01:00
license = stdenv.lib.licenses.gpl2;
platforms = stdenv.lib.platforms.unix;
};
}