1 { lib, stdenv, fetchurl, gnum4 }:
3 stdenv.mkDerivation rec {
4 name = "jade-${version}-${debpatch}";
9 url = "ftp://ftp.jclark.com/pub/jade/jade-${version}.tar.gz";
10 sha256 = "84e2f8a2a87aab44f86a46b71405d4f919b219e4c73e03a83ab6c746a674b187";
14 url = "http://ftp.debian.org/debian/pool/main/j/jade/jade_${version}-${debpatch}.diff.gz";
15 sha256 = "8e94486898e3503308805f856a65ba5b499a6f21994151270aa743de48305464";
18 patches = [ patchsrc ];
20 buildInputs = [ gnum4 ];
22 NIX_CFLAGS_COMPILE = "-Wno-deprecated";
25 install -d -m755 "$out"/lib
29 mv "$out/bin/sx" "$out/bin/sgml2xml"
33 description = "James Clark's DSSSL Engine";
35 homepage = "http://www.jclark.com/jade/";
36 platforms = with lib.platforms; linux;
37 maintainers = with lib.maintainers; [ e-user ];