tdom: init at 0.9.4
This commit is contained in:
parent
f940d69b27
commit
658fff5fab
40
pkgs/by-name/td/tdom/package.nix
Normal file
40
pkgs/by-name/td/tdom/package.nix
Normal file
@ -0,0 +1,40 @@
|
||||
{
|
||||
lib,
|
||||
tcl,
|
||||
fetchzip,
|
||||
expat,
|
||||
gumbo,
|
||||
pkg-config,
|
||||
}:
|
||||
|
||||
tcl.mkTclDerivation rec {
|
||||
pname = "tdom";
|
||||
version = "0.9.4";
|
||||
|
||||
src = fetchzip {
|
||||
url = "http://tdom.org/downloads/tdom-${version}-src.tgz";
|
||||
hash = "sha256-7RvHzb4ae1HbJGkXCd68B23q/zhEK6ysYOnT6yeTLU8=";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
expat
|
||||
gumbo
|
||||
];
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
|
||||
configureFlags = [
|
||||
"--enable-html5"
|
||||
"--with-expat=${lib.getDev expat}"
|
||||
];
|
||||
|
||||
doInstallCheck = true;
|
||||
installCheckTarget = "test";
|
||||
|
||||
meta = {
|
||||
description = "XML / DOM / XPath / XSLT / HTML / JSON implementation for Tcl";
|
||||
homepage = "http://www.tdom.org";
|
||||
license = lib.licenses.mpl20;
|
||||
maintainers = with lib.maintainers; [ fgaz ];
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user