nixpkgs/pkgs/by-name/ye/yelp-xsl/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

52 lines
1.0 KiB
Nix
Raw Normal View History

{ lib, stdenv
2019-09-02 16:46:08 +00:00
, gettext
, fetchurl
2021-01-17 02:21:50 +00:00
, pkg-config
2019-09-02 16:46:08 +00:00
, itstool
, libxml2
, libxslt
, gnome
2019-09-02 16:46:08 +00:00
}:
stdenv.mkDerivation rec {
pname = "yelp-xsl";
version = "42.1";
src = fetchurl {
2021-03-21 07:30:11 +00:00
url = "mirror://gnome/sources/yelp-xsl/${lib.versions.major version}/${pname}-${version}.tar.xz";
sha256 = "sha256-I4vhULFlMIDOE5lxMw/TbTomWV4NagQKLAML89IAW80=";
};
2019-09-02 16:46:08 +00:00
nativeBuildInputs = [
2021-01-17 02:21:50 +00:00
pkg-config
2019-09-02 16:46:08 +00:00
gettext
itstool
libxml2
libxslt
];
doCheck = true;
2019-09-02 16:46:08 +00:00
passthru = {
updateScript = gnome.updateScript {
2019-09-02 16:46:08 +00:00
packageName = pname;
};
};
meta = with lib; {
homepage = "https://gitlab.gnome.org/GNOME/yelp-xsl";
description = "Yelp's universal stylesheets for Mallard and DocBook";
maintainers = teams.gnome.members;
2021-02-01 19:13:53 +00:00
license = with licenses; [
# See https://gitlab.gnome.org/GNOME/yelp-xsl/blob/master/COPYING
# Stylesheets
lgpl2Plus
# Icons, unclear: https://gitlab.gnome.org/GNOME/yelp-xsl/issues/25
gpl2
# highlight.js
bsd3
];
platforms = platforms.unix;
};
}