nixpkgs/pkgs/desktops/mate/mate-user-guide/default.nix
José Romildo Malaquias aa001cc937 mate: remove major-ver and minor-ver
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.
2018-02-13 20:44:07 -02:00

24 lines
653 B
Nix

{ stdenv, fetchurl, intltool, itstool, libxml2, yelp, mate }:
stdenv.mkDerivation rec {
name = "mate-user-guide-${version}";
version = "1.18.0";
src = fetchurl {
url = "http://pub.mate-desktop.org/releases/${mate.getRelease version}/${name}.tar.xz";
sha256 = "0f3b46r9a3cywm7rpj08xlkfnlfr9db58xfcpix8i33qp50fxqmb";
};
nativeBuildInputs = [ itstool intltool libxml2 ];
buildInputs = [ yelp ];
meta = with stdenv.lib; {
description = "MATE User Guide";
homepage = http://mate-desktop.org;
license = with licenses; [ gpl2Plus fdl12 ];
platforms = platforms.unix;
maintainers = [ maintainers.romildo ];
};
}