diff options
author | Lluís Batlle i Rossell <viric@vicerveza.homeunix.net> | 2010-01-26 22:04:54 +0000 |
---|---|---|
committer | Lluís Batlle i Rossell <viric@vicerveza.homeunix.net> | 2010-01-26 22:04:54 +0000 |
commit | 62c315a723fc937ff4681a096c9ca4d632c6edef (patch) | |
tree | 2d015d1f888c2e992b240c8f126f24e93fecad5c /pkgs/tools/text/sgml | |
parent | ca9dcb28a180a92c991684c19a462b7a9e1bf1f5 (diff) |
Adding libofx and updating opensp (to get libofx built).
(I may have broken openjade... I will check later).
svn path=/nixpkgs/trunk/; revision=19697
Diffstat (limited to 'pkgs/tools/text/sgml')
-rw-r--r-- | pkgs/tools/text/sgml/opensp/default.nix | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/pkgs/tools/text/sgml/opensp/default.nix b/pkgs/tools/text/sgml/opensp/default.nix index 4acf13af6fbd..76efbd0b1af6 100644 --- a/pkgs/tools/text/sgml/opensp/default.nix +++ b/pkgs/tools/text/sgml/opensp/default.nix @@ -1,16 +1,20 @@ -{stdenv, fetchurl}: +{stdenv, fetchurl, xmlto, docbook_xml_dtd_412, libxslt, docbook_xsl}: stdenv.mkDerivation { - # OpenSP-1.5.1 requires gcc 3.3 to build. - # The next release is likely to be compatible with newer gccs. - # If so the overrideGCC in top-level/all-packages should be removed. - name = "OpenSP-1.5.1"; + name = "opensp-1.5.2"; src = fetchurl { - url = "http://prdownloads.sourceforge.net/openjade/OpenSP-1.5.1.tar.gz"; - sha256 = "0svkgk85m6f848fi3nxnrkzg62422wxr739w5r1yrmn31n24j1iz"; + url = mirror://sourceforge/openjade/OpenSP-1.5.2.tar.gz; + sha256 = "1khpasr6l0a8nfz6kcf3s81vgdab8fm2dj291n5r2s53k228kx2p"; }; + 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 ]; + meta = { description = "A suite of SGML/XML processing tools"; license = "BSD"; |