3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/text/xml/html-xml-utils/default.nix
Philip Potter 44048385bd html-xml-utils: fix and bump to 6.9
6.4 had a compile error:

```
scan.l:136:7: error: expected identifier or ‘(’ before ‘__extension__’
char *strndup(const char *s, size_t n);
^
```

This is caused by the standard library strndup() now living in string.h
and conflicting with another strndup() declared in scan.l.  Version 6.9
fixes this.

This also removes the need for the boolean patch that we previously had.
2015-08-24 22:38:01 +01:00

18 lines
423 B
Nix

{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
name = "html-xml-utils-6.9";
src = fetchurl {
url = "http://www.w3.org/Tools/HTML-XML-utils/${name}.tar.gz";
sha256 = "1cpshwz60h7xsw1rvv84jl4bn9zjqii9hb8zvwm7a0fahkf03x4w";
};
meta = {
description = "Utilities for manipulating HTML and XML files";
homepage = http://www.w3.org/Tools/HTML-XML-utils/;
license = stdenv.lib.licenses.w3c;
};
}