Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
65 lines
1.3 KiB
Nix
65 lines
1.3 KiB
Nix
{
|
|
lib,
|
|
fetchurl,
|
|
libxml2,
|
|
libxslt,
|
|
itstool,
|
|
gnome,
|
|
pkg-config,
|
|
meson,
|
|
ninja,
|
|
python3,
|
|
yelp-xsl,
|
|
}:
|
|
|
|
python3.pkgs.buildPythonApplication rec {
|
|
pname = "yelp-tools";
|
|
version = "42.1";
|
|
|
|
format = "other";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://gnome/sources/yelp-tools/${lib.versions.major version}/${pname}-${version}.tar.xz";
|
|
sha256 = "PklqQCDUFFuZ/VCKJfoJM2pQOk6JAAKEIecsaksR+QU=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
pkg-config
|
|
meson
|
|
ninja
|
|
];
|
|
|
|
propagatedBuildInputs = [
|
|
libxml2 # xmllint required by yelp-check.
|
|
libxslt # xsltproc required by yelp-build and yelp-check.
|
|
];
|
|
|
|
buildInputs = [
|
|
itstool # build script checks for its presence but I am not sure if anything uses it
|
|
yelp-xsl
|
|
];
|
|
|
|
pythonPath = [
|
|
python3.pkgs.lxml
|
|
];
|
|
|
|
strictDeps = false; # TODO: Meson cannot find xmllint oherwise. Maybe add it to machine file?
|
|
|
|
doCheck = true;
|
|
|
|
passthru = {
|
|
updateScript = gnome.updateScript {
|
|
packageName = pname;
|
|
};
|
|
};
|
|
|
|
meta = with lib; {
|
|
homepage = "https://gitlab.gnome.org/GNOME/yelp-tools";
|
|
description = "Small programs that help you create, edit, manage, and publish your Mallard or DocBook documentation";
|
|
maintainers = [ ];
|
|
teams = [ teams.gnome ];
|
|
license = licenses.gpl2Plus;
|
|
platforms = platforms.unix;
|
|
};
|
|
}
|