2021-01-21 17:00:13 +00:00
|
|
|
{ lib, stdenv, fetchurl, unzip }:
|
2019-02-23 15:03:11 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "rapidxml";
|
|
|
|
version = "1.13";
|
|
|
|
|
|
|
|
src = fetchurl {
|
2019-08-15 12:41:18 +00:00
|
|
|
url = "mirror://sourceforge/${pname}/${pname}-${version}.zip";
|
2019-02-23 15:03:11 +00:00
|
|
|
sha256 = "0w9mbdgshr6sh6a5jr10lkdycjyvapbj7wxwz8hbp0a96y3biw63";
|
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ unzip ];
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
mkdir -p $out/include/${pname}
|
|
|
|
cp * $out/include/${pname}
|
|
|
|
'';
|
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
meta = with lib; {
|
2019-02-23 15:03:11 +00:00
|
|
|
description = "Fast XML DOM-style parser in C++";
|
|
|
|
homepage = "http://rapidxml.sourceforge.net/";
|
|
|
|
license = licenses.boost;
|
|
|
|
platforms = platforms.unix;
|
|
|
|
maintainers = with maintainers; [ cpages ];
|
|
|
|
};
|
|
|
|
}
|