depot/third_party/nixpkgs/pkgs/development/libraries/rapidxml/default.nix
Default email 5ca88bfbb9 Project import generated by Copybara.
GitOrigin-RevId: 9f918d616c5321ad374ae6cb5ea89c9e04bf3e58
2024-07-31 10:19:44 +00:00

26 lines
611 B
Nix

{ lib, 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 lib; {
description = "Fast XML DOM-style parser in C++";
homepage = "https://rapidxml.sourceforge.net/";
license = licenses.boost;
platforms = platforms.unix;
maintainers = [ ];
};
}