1{
2 lib,
3 stdenv,
4 fetchurl,
5 unzip,
6}:
7
8stdenv.mkDerivation rec {
9 pname = "rapidxml";
10 version = "1.13";
11
12 src = fetchurl {
13 url = "mirror://sourceforge/${pname}/${pname}-${version}.zip";
14 sha256 = "0w9mbdgshr6sh6a5jr10lkdycjyvapbj7wxwz8hbp0a96y3biw63";
15 };
16
17 nativeBuildInputs = [ unzip ];
18
19 installPhase = ''
20 mkdir -p $out/include/${pname}
21 cp * $out/include/${pname}
22 '';
23
24 meta = with lib; {
25 description = "Fast XML DOM-style parser in C++";
26 homepage = "https://rapidxml.sourceforge.net/";
27 license = licenses.boost;
28 platforms = platforms.unix;
29 maintainers = [ ];
30 };
31}