2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv
|
2019-09-02 17:46:08 +01:00
|
|
|
, gettext
|
|
|
|
, fetchurl
|
2021-01-17 02:21:50 +00:00
|
|
|
, pkg-config
|
2019-09-02 17:46:08 +01:00
|
|
|
, itstool
|
|
|
|
, libxml2
|
|
|
|
, libxslt
|
|
|
|
, gnome3
|
|
|
|
}:
|
2016-09-18 20:35:23 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "yelp-xsl";
|
2020-10-11 17:41:08 +01:00
|
|
|
version = "3.38.1";
|
2018-02-25 20:07:20 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-01-15 13:21:58 +00:00
|
|
|
url = "mirror://gnome/sources/yelp-xsl/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
2020-10-11 17:41:08 +01:00
|
|
|
sha256 = "0ryzvkcgxp7xi0icmpdl2rinjn904s8imbxdi6wshzxblqymc8dk";
|
2018-02-25 20:07:20 +00:00
|
|
|
};
|
|
|
|
|
2019-09-02 17:46:08 +01:00
|
|
|
nativeBuildInputs = [
|
2021-01-17 02:21:50 +00:00
|
|
|
pkg-config
|
2019-09-02 17:46:08 +01:00
|
|
|
gettext
|
|
|
|
itstool
|
|
|
|
libxml2
|
|
|
|
libxslt
|
|
|
|
];
|
2016-09-18 20:35:23 +01:00
|
|
|
|
|
|
|
doCheck = true;
|
|
|
|
|
2019-09-02 17:46:08 +01:00
|
|
|
passthru = {
|
|
|
|
updateScript = gnome3.updateScript {
|
|
|
|
packageName = pname;
|
|
|
|
attrPath = "gnome3.${pname}";
|
|
|
|
};
|
|
|
|
};
|
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";
|
2016-09-18 20:35:23 +01:00
|
|
|
description = "Yelp's universal stylesheets for Mallard and DocBook";
|
2020-04-01 13:40:51 +01:00
|
|
|
maintainers = teams.gnome.members;
|
2016-09-18 20:35:23 +01:00
|
|
|
license = [licenses.gpl2 licenses.lgpl2];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|