nixpkgs-suyu/pkgs/tools/text/sgml/jade/default.nix
Alexander Kahl 61d125b842 sssd: init at 1.14.2
perlPackages.TextWrapI18N: init at 0.06
perlPackages.Po4a: init at 0.47
jade: init at 1.2.1
ding-libs: init at 0.6.0

Switch nscd to no-caching mode if SSSD is enabled.

abbradar: disable jade parallel building.

Closes #21150
2017-01-04 03:07:20 +03:00

38 lines
950 B
Nix

{ stdenv, fetchurl, pkgs, gcc, gzip, gnum4 }:
stdenv.mkDerivation (rec {
name = "jade";
version = "1.2.1";
debpatch = "47.3";
src = fetchurl {
url = "ftp://ftp.jclark.com/pub/${name}/${name}-${version}.tar.gz";
sha256 = "84e2f8a2a87aab44f86a46b71405d4f919b219e4c73e03a83ab6c746a674b187";
};
patchsrc = fetchurl {
url = "http://ftp.debian.org/debian/pool/main/j/jade/jade_${version}-${debpatch}.diff.gz";
sha256 = "8e94486898e3503308805f856a65ba5b499a6f21994151270aa743de48305464";
};
patches = [ patchsrc ];
buildInputs = [ gcc gzip gnum4 ];
NIX_CFLAGS_COMPILE = [ "-Wno-deprecated" ];
preInstall = ''
install -d -m755 "$out"/lib
'';
postInstall = ''
mv "$out/bin/sx" "$out/bin/sgml2xml"
'';
meta = {
description = "James Clark's DSSSL Engine";
license = "custom";
homepage = http://www.jclark.com/jade/;
maintainers = with stdenv.lib.maintainers; [ e-user ];
};
})