summary refs log tree commit diff
path: root/pkgs/tools/text/xml/xml2/default.nix
blob: e96644b6d3cfc943d8796483ef756f46224129f3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{ stdenv, fetchurl, pkgconfig, libxml2 }:

stdenv.mkDerivation rec {
  name = "xml2-0.5";

  src = fetchurl {
    url = "http://download.ofb.net/gale/${name}.tar.gz";
    sha256 = "01cps980m99y99cnmvydihga9zh3pvdsqag2fi1n6k2x7rfkl873";
  };

  nativeBuildInputs = [ pkgconfig ];
  buildInputs = [ libxml2 ];

  meta = with stdenv.lib; {
    homepage = http://ofb.net/~egnor/xml2/;
    description = "Tools for command line processing of XML, HTML, and CSV";
    license = licenses.gpl2Plus;
    platforms = platforms.all;
    maintainers = [ maintainers.rycee ];
  };
}