2021-01-11 07:54:33 +00:00
|
|
|
{ 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
|
2021-05-07 21:18:14 +00:00
|
|
|
, gnome
|
2019-09-02 16:46:08 +00:00
|
|
|
}:
|
2016-09-18 19:35:23 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "yelp-xsl";
|
2022-09-17 20:57:09 +00:00
|
|
|
version = "42.1";
|
2018-02-25 20:07:20 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-03-21 07:30:11 +00:00
|
|
|
url = "mirror://gnome/sources/yelp-xsl/${lib.versions.major version}/${pname}-${version}.tar.xz";
|
2022-09-17 20:57:09 +00:00
|
|
|
sha256 = "sha256-I4vhULFlMIDOE5lxMw/TbTomWV4NagQKLAML89IAW80=";
|
2018-02-25 20:07:20 +00:00
|
|
|
};
|
|
|
|
|
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
|
|
|
|
];
|
2016-09-18 19:35:23 +00:00
|
|
|
|
|
|
|
doCheck = true;
|
|
|
|
|
2019-09-02 16:46:08 +00:00
|
|
|
passthru = {
|
2021-05-07 21:18:14 +00:00
|
|
|
updateScript = gnome.updateScript {
|
2019-09-02 16:46:08 +00:00
|
|
|
packageName = pname;
|
|
|
|
};
|
|
|
|
};
|
2016-09-18 19:35:23 +00:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2024-05-01 05:03:10 +00:00
|
|
|
homepage = "https://gitlab.gnome.org/GNOME/yelp-xsl";
|
2016-09-18 19:35:23 +00:00
|
|
|
description = "Yelp's universal stylesheets for Mallard and DocBook";
|
2020-04-01 12:40:51 +00:00
|
|
|
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;
|
2016-09-18 19:35:23 +00:00
|
|
|
};
|
|
|
|
}
|