yelp-tools: 3.38.0 → 40.0

Co-Authored-By: Maxine Aubrey <maxeaubrey@gmail.com>
This commit is contained in:
Jan Tojnar 2021-03-21 08:30:14 +01:00
parent 7ba1be0f55
commit 103625a915
No known key found for this signature in database
GPG Key ID: 7FAB2A15F7A607A4

View File

@ -6,28 +6,44 @@
, itstool , itstool
, gnome3 , gnome3
, pkg-config , pkg-config
, meson
, ninja
, python3
}: }:
stdenv.mkDerivation rec { python3.pkgs.buildPythonApplication rec {
pname = "yelp-tools"; pname = "yelp-tools";
version = "3.38.0"; version = "40.0";
format = "other";
src = fetchurl { src = fetchurl {
url = "mirror://gnome/sources/yelp-tools/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; url = "mirror://gnome/sources/yelp-tools/${lib.versions.major version}/${pname}-${version}.tar.xz";
sha256 = "1c045c794sm83rrjan67jmsk20qacrw1m814p4nw85w5xsry8z30"; sha256 = "1bkanqp3qwmirv06mi99qv2acr5ba5rlhy9zlh0fyrfxygraqjv6";
}; };
nativeBuildInputs = [ nativeBuildInputs = [
pkg-config pkg-config
meson
ninja
];
propagatedBuildInputs = [
libxml2 # xmllint required by yelp-check.
libxslt # xsltproc required by yelp-build and yelp-check.
]; ];
buildInputs = [ buildInputs = [
libxml2 itstool # build script checks for its presence but I am not sure if anything uses it
libxslt
itstool
gnome3.yelp-xsl gnome3.yelp-xsl
]; ];
pythonPath = [
python3.pkgs.lxml
];
strictDeps = false; # TODO: Meson cannot find xmllint oherwise. Maybe add it to machine file?
doCheck = true; doCheck = true;
passthru = { passthru = {