nixpkgs/pkgs/tools/text/xml/html-xml-utils/default.nix
2023-05-04 05:22:59 +00:00

21 lines
538 B
Nix

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