forked from mirrors/nixpkgs
aa001cc937
Keep only the version atribute in derivations, with the full version string of the package. This will make it easier to write a script for automatic updating of the packages using the update-source-version command from common-updater-scripts.
38 lines
901 B
Nix
38 lines
901 B
Nix
{ stdenv, fetchurl, pkgconfig, intltool, gtk3, libxml2, libsecret, poppler, itstool, hicolor_icon_theme, mate, wrapGAppsHook }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "atril-${version}";
|
|
version = "1.19.0";
|
|
|
|
src = fetchurl {
|
|
url = "https://pub.mate-desktop.org/releases/${mate.getRelease version}/${name}.tar.xz";
|
|
sha256 = "0v829yvr738y5s2knyvimcgqv351qzb0rpw5il19qc27rbzyri1r";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
pkgconfig
|
|
intltool
|
|
wrapGAppsHook
|
|
];
|
|
|
|
buildInputs = [
|
|
gtk3
|
|
itstool
|
|
libsecret
|
|
libxml2
|
|
poppler
|
|
mate.caja
|
|
mate.mate-desktop
|
|
hicolor_icon_theme
|
|
];
|
|
|
|
makeFlags = [ "cajaextensiondir=$$out/lib/caja/extensions-2.0" ];
|
|
|
|
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;
|
|
};
|
|
}
|