diff options
author | Marc Weber <marco-oweber@gmx.de> | 2009-10-22 15:41:39 +0000 |
---|---|---|
committer | Marc Weber <marco-oweber@gmx.de> | 2009-10-22 15:41:39 +0000 |
commit | 0d76da3b6fcaacba30987462cd554469550e9123 (patch) | |
tree | 480f811a39c11e15bbf3e33068522090ae4fca9f /pkgs/tools/text/sgml | |
parent | 9252996ae74d86debaa90e45a37a4545c0d5d32a (diff) |
new: openjade, opensp - by Russell O'Connor
svn path=/nixpkgs/trunk/; revision=17926
Diffstat (limited to 'pkgs/tools/text/sgml')
-rw-r--r-- | pkgs/tools/text/sgml/openjade/default.nix | 26 | ||||
-rw-r--r-- | pkgs/tools/text/sgml/opensp/default.nix | 19 |
2 files changed, 45 insertions, 0 deletions
diff --git a/pkgs/tools/text/sgml/openjade/default.nix b/pkgs/tools/text/sgml/openjade/default.nix new file mode 100644 index 000000000000..8b6307e82176 --- /dev/null +++ b/pkgs/tools/text/sgml/openjade/default.nix @@ -0,0 +1,26 @@ +{stdenv, fetchurl, opensp, perl}: + +stdenv.mkDerivation { + # OpenJade-1.3.2 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 = "OpenJade-1.3.2"; + + src = fetchurl { + url = "http://prdownloads.sourceforge.net/openjade/openjade-1.3.2.tar.gz"; + sha256 = "1l92sfvx1f0wmkbvzv1385y1gb3hh010xksi1iyviyclrjb7jb8x"; + }; + + buildInputs = [opensp perl]; + + configureFlags = [ + "--enable-spincludedir=${opensp}/include/OpenSP" + "--enable-splibdir=${opensp}/lib" + ]; + + meta = { + description = "An implementation of DSSSL, an ISO standard for formatting SGML (and XML) documents"; + license = "BSD"; + homepage = http://openjade.sourceforge.net/; + }; +} diff --git a/pkgs/tools/text/sgml/opensp/default.nix b/pkgs/tools/text/sgml/opensp/default.nix new file mode 100644 index 000000000000..4acf13af6fbd --- /dev/null +++ b/pkgs/tools/text/sgml/opensp/default.nix @@ -0,0 +1,19 @@ +{stdenv, fetchurl}: + +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"; + + src = fetchurl { + url = "http://prdownloads.sourceforge.net/openjade/OpenSP-1.5.1.tar.gz"; + sha256 = "0svkgk85m6f848fi3nxnrkzg62422wxr739w5r1yrmn31n24j1iz"; + }; + + meta = { + description = "A suite of SGML/XML processing tools"; + license = "BSD"; + homepage = http://openjade.sourceforge.net/; + }; +} |