nixpkgs/pkgs/tools/text/sgml/openjade/default.nix
2021-01-15 17:12:36 +07:00

27 lines
676 B
Nix

{ lib, stdenv, fetchurl, opensp, perl }:
stdenv.mkDerivation rec {
name = "openjade-1.3.2";
src = fetchurl {
url = "mirror://sourceforge/openjade/${name}.tar.gz";
sha256 = "1l92sfvx1f0wmkbvzv1385y1gb3hh010xksi1iyviyclrjb7jb8x";
};
patches = [ ./msggen.patch ];
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 = lib.licenses.mit;
homepage = "http://openjade.sourceforge.net/";
platforms = lib.platforms.linux;
};
}