2021-02-01 19:14:13 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchurl
|
|
|
|
, libxml2
|
|
|
|
, libxslt
|
|
|
|
, itstool
|
|
|
|
, gnome3
|
|
|
|
, pkg-config
|
|
|
|
}:
|
2016-09-18 20:35:23 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "yelp-tools";
|
2020-08-20 15:41:21 +01:00
|
|
|
version = "3.38.0";
|
2018-02-25 20:07:20 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-01-23 17:15:07 +00:00
|
|
|
url = "mirror://gnome/sources/yelp-tools/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
2020-08-20 15:41:21 +01:00
|
|
|
sha256 = "1c045c794sm83rrjan67jmsk20qacrw1m814p4nw85w5xsry8z30";
|
2018-02-25 20:07:20 +00:00
|
|
|
};
|
|
|
|
|
2021-02-01 19:14:13 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
pkg-config
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
libxml2
|
|
|
|
libxslt
|
|
|
|
itstool
|
|
|
|
gnome3.yelp-xsl
|
|
|
|
];
|
|
|
|
|
|
|
|
doCheck = true;
|
|
|
|
|
2018-02-25 20:07:20 +00:00
|
|
|
passthru = {
|
2019-11-20 03:30:05 +00:00
|
|
|
updateScript = gnome3.updateScript {
|
|
|
|
packageName = pname;
|
|
|
|
};
|
2018-02-25 20:07:20 +00:00
|
|
|
};
|
2016-09-18 20:35:23 +01:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://wiki.gnome.org/Apps/Yelp/Tools";
|
2016-09-18 20:35:23 +01:00
|
|
|
description = "Small programs that help you create, edit, manage, and publish your Mallard or DocBook documentation";
|
2021-02-01 19:14:13 +00:00
|
|
|
maintainers = teams.gnome.members ++ (with maintainers; [ domenkozar ]);
|
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
platforms = platforms.unix;
|
2016-09-18 20:35:23 +01:00
|
|
|
};
|
|
|
|
}
|