2018-07-21 01:44:44 +01:00
|
|
|
{ stdenv, intltool, fetchurl, pkgconfig
|
2016-09-18 20:35:23 +01:00
|
|
|
, itstool, libxml2, libxslt, gnome3 }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2018-02-25 20:07:20 +00:00
|
|
|
name = "yelp-xsl-${version}";
|
2018-03-13 01:03:18 +00:00
|
|
|
version = "3.28.0";
|
2018-02-25 20:07:20 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2018-10-05 01:12:11 +01:00
|
|
|
url = "mirror://gnome/sources/yelp-xsl/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
|
2018-03-13 01:03:18 +00:00
|
|
|
sha256 = "14rznm1qpsnmkwksnkd5j7zplakl01kvrcw0fdmd5gdc65xz9kcc";
|
2018-02-25 20:07:20 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
passthru = {
|
|
|
|
updateScript = gnome3.updateScript { packageName = "yelp-xsl"; attrPath = "gnome3.yelp-xsl"; };
|
|
|
|
};
|
2016-09-18 20:35:23 +01:00
|
|
|
|
|
|
|
doCheck = true;
|
|
|
|
|
2017-09-05 22:26:13 +01:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
buildInputs = [ intltool itstool libxml2 libxslt ];
|
2016-09-18 20:35:23 +01:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = https://wiki.gnome.org/Apps/Yelp;
|
|
|
|
description = "Yelp's universal stylesheets for Mallard and DocBook";
|
|
|
|
maintainers = gnome3.maintainers;
|
|
|
|
license = [licenses.gpl2 licenses.lgpl2];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|