nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{ lib, stdenv, fetchurl, pkg-config, libxml2 }:
2
3stdenv.mkDerivation rec {
4 pname = "xml2";
5 version = "0.5";
6
7 src = fetchurl {
8 url = "https://web.archive.org/web/20160427221603/http://download.ofb.net/gale/xml2-${version}.tar.gz";
9 sha256 = "01cps980m99y99cnmvydihga9zh3pvdsqag2fi1n6k2x7rfkl873";
10 };
11
12 nativeBuildInputs = [ pkg-config ];
13 buildInputs = [ libxml2 ];
14
15 meta = with lib; {
16 homepage = "https://web.archive.org/web/20160515005047/http://dan.egnor.name:80/xml2";
17 description = "Tools for command line processing of XML, HTML, and CSV";
18 license = licenses.gpl2Plus;
19 platforms = platforms.all;
20 maintainers = [ maintainers.rycee ];
21 };
22}