nixpkgs/pkgs/desktops/gnome-3/core/yelp-tools/default.nix

29 lines
919 B
Nix
Raw Normal View History

{ stdenv, fetchurl, libxml2, libxslt, itstool, gnome3, pkgconfig }:
stdenv.mkDerivation rec {
name = "yelp-tools-${version}";
2019-03-03 18:32:55 +00:00
version = "3.32.0";
src = fetchurl {
url = "mirror://gnome/sources/yelp-tools/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
2019-03-03 18:32:55 +00:00
sha256 = "037fd6xpy3zab7j5p7c0vfc6c3nk6qs0prvz1hbilzc31p8l1pdz";
};
passthru = {
updateScript = gnome3.updateScript { packageName = "yelp-tools"; attrPath = "gnome3.yelp-tools"; };
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ libxml2 libxslt itstool gnome3.yelp-xsl ];
doCheck = true;
meta = with stdenv.lib; {
homepage = https://wiki.gnome.org/Apps/Yelp/Tools;
description = "Small programs that help you create, edit, manage, and publish your Mallard or DocBook documentation";
maintainers = with maintainers; [ domenkozar ];
license = licenses.gpl2;
platforms = platforms.linux;
};
}