nixpkgs/pkgs/tools/text/xml/html-xml-utils/default.nix
2021-05-17 13:25:58 -07:00

20 lines
537 B
Nix

{ lib, stdenv, fetchurl, curl, libiconv }:
stdenv.mkDerivation rec {
pname = "html-xml-utils";
version = "8.0";
src = fetchurl {
url = "https://www.w3.org/Tools/HTML-XML-utils/${pname}-${version}.tar.gz";
sha256 = "sha256-dJBZkGwzHCx/us7uAkZiRaI3uRvUCN/485bQc0oGCuI=";
};
buildInputs = [curl libiconv];
meta = with lib; {
description = "Utilities for manipulating HTML and XML files";
homepage = "http://www.w3.org/Tools/HTML-XML-utils/";
license = licenses.w3c;
platforms = platforms.all;
};
}