3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/desktops/gnome-3/core/yelp-xsl/default.nix

45 lines
878 B
Nix
Raw Normal View History

{ lib, stdenv
2019-09-02 17:46:08 +01:00
, gettext
, fetchurl
2021-01-17 02:21:50 +00:00
, pkg-config
2019-09-02 17:46:08 +01:00
, itstool
, libxml2
, libxslt
, gnome3
}:
stdenv.mkDerivation rec {
pname = "yelp-xsl";
version = "3.38.1";
src = fetchurl {
2021-01-15 13:21:58 +00:00
url = "mirror://gnome/sources/yelp-xsl/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "0ryzvkcgxp7xi0icmpdl2rinjn904s8imbxdi6wshzxblqymc8dk";
};
2019-09-02 17:46:08 +01:00
nativeBuildInputs = [
2021-01-17 02:21:50 +00:00
pkg-config
2019-09-02 17:46:08 +01:00
gettext
itstool
libxml2
libxslt
];
doCheck = true;
2019-09-02 17:46:08 +01:00
passthru = {
updateScript = gnome3.updateScript {
packageName = pname;
attrPath = "gnome3.${pname}";
};
};
meta = with lib; {
homepage = "https://wiki.gnome.org/Apps/Yelp";
description = "Yelp's universal stylesheets for Mallard and DocBook";
maintainers = teams.gnome.members;
license = [licenses.gpl2 licenses.lgpl2];
platforms = platforms.linux;
};
}