1
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs synced 2024-10-18 15:14:49 -04:00
nixpkgs/pkgs/by-name/td/tdom/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

41 lines
734 B
Nix
Raw Normal View History

2024-08-03 17:12:22 -04:00
{
lib,
tcl,
fetchzip,
expat,
gumbo,
pkg-config,
}:
tcl.mkTclDerivation rec {
pname = "tdom";
2024-10-17 22:58:46 -04:00
version = "0.9.5";
2024-08-03 17:12:22 -04:00
src = fetchzip {
url = "http://tdom.org/downloads/tdom-${version}-src.tgz";
2024-10-17 22:58:46 -04:00
hash = "sha256-WjXIVnz+1Z59fQHMHXzQaIRRwfiBHMTBq/p2alGF+Po=";
2024-08-03 17:12:22 -04:00
};
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 ];
};
}