summary refs log tree commit diff
path: root/pkgs/development/libraries/rapidxml/default.nix
blob: ca072f2ca4b0a08d505ea54e10eef0b3f339d2cf (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{ stdenv, fetchurl, unzip }:

stdenv.mkDerivation rec {
  pname = "rapidxml";
  version = "1.13";

  src = fetchurl {
    url = "mirror://sourceforge/${pname}/${pname}-${version}.zip";
    sha256 = "0w9mbdgshr6sh6a5jr10lkdycjyvapbj7wxwz8hbp0a96y3biw63";
  };

  nativeBuildInputs = [ unzip ];

  installPhase = ''
    mkdir -p $out/include/${pname}
    cp * $out/include/${pname}
  '';

  meta = with stdenv.lib; {
    description = "Fast XML DOM-style parser in C++";
    homepage = "http://rapidxml.sourceforge.net/";
    license = licenses.boost;
    platforms = platforms.unix;
    maintainers = with maintainers; [ cpages ];
  };
}