8ac5e011d6
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
26 lines
637 B
Nix
26 lines
637 B
Nix
{ 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 ];
|
|
};
|
|
}
|