depot/third_party/nixpkgs/pkgs/tools/text/xml/html-xml-utils/default.nix

21 lines
537 B
Nix
Raw Normal View History

{ 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;
};
}