2010-01-26 23:04:54 +01:00
|
|
|
{stdenv, fetchurl, xmlto, docbook_xml_dtd_412, libxslt, docbook_xsl}:
|
2009-10-22 17:41:39 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2010-01-26 23:04:54 +01:00
|
|
|
name = "opensp-1.5.2";
|
2009-10-22 17:41:39 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
2010-01-26 23:04:54 +01:00
|
|
|
url = mirror://sourceforge/openjade/OpenSP-1.5.2.tar.gz;
|
|
|
|
sha256 = "1khpasr6l0a8nfz6kcf3s81vgdab8fm2dj291n5r2s53k228kx2p";
|
2009-10-22 17:41:39 +02:00
|
|
|
};
|
|
|
|
|
2010-01-26 23:04:54 +01:00
|
|
|
patchPhase = ''
|
|
|
|
sed -i s,/usr/share/sgml/docbook/xml-dtd-4.1.2/,${docbook_xml_dtd_412}/xml/dtd/docbook/, \
|
|
|
|
docsrc/*.xml
|
|
|
|
'';
|
|
|
|
|
|
|
|
buildInputs = [ xmlto docbook_xml_dtd_412 libxslt docbook_xsl ];
|
|
|
|
|
2009-10-22 17:41:39 +02:00
|
|
|
meta = {
|
|
|
|
description = "A suite of SGML/XML processing tools";
|
|
|
|
license = "BSD";
|
|
|
|
homepage = http://openjade.sourceforge.net/;
|
|
|
|
};
|
|
|
|
}
|