3
0
Fork 0
forked from mirrors/nixpkgs

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