45 lines
885 B
Nix
45 lines
885 B
Nix
{ stdenv
|
|
, gettext
|
|
, fetchurl
|
|
, pkgconfig
|
|
, itstool
|
|
, libxml2
|
|
, libxslt
|
|
, gnome3
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "yelp-xsl";
|
|
version = "3.38.0";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://gnome/sources/yelp-xsl/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
|
sha256 = "1mxhg9z1drzjd9j3ykyjxw26pa8m00ppp36ifi0khmac3h0w5g0k";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
pkgconfig
|
|
gettext
|
|
itstool
|
|
libxml2
|
|
libxslt
|
|
];
|
|
|
|
doCheck = true;
|
|
|
|
passthru = {
|
|
updateScript = gnome3.updateScript {
|
|
packageName = pname;
|
|
attrPath = "gnome3.${pname}";
|
|
};
|
|
};
|
|
|
|
meta = with stdenv.lib; {
|
|
homepage = "https://wiki.gnome.org/Apps/Yelp";
|
|
description = "Yelp's universal stylesheets for Mallard and DocBook";
|
|
maintainers = teams.gnome.members;
|
|
license = [licenses.gpl2 licenses.lgpl2];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|