mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-04 14:00:04 +00:00
32 lines
618 B
Nix
32 lines
618 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchurl,
|
|
unzip,
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "rapidxml";
|
|
version = "1.13";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/rapidxml/rapidxml-${version}.zip";
|
|
sha256 = "0w9mbdgshr6sh6a5jr10lkdycjyvapbj7wxwz8hbp0a96y3biw63";
|
|
};
|
|
|
|
nativeBuildInputs = [ unzip ];
|
|
|
|
installPhase = ''
|
|
mkdir -p $out/include/${pname}
|
|
cp * $out/include/${pname}
|
|
'';
|
|
|
|
meta = {
|
|
description = "Fast XML DOM-style parser in C++";
|
|
homepage = "https://rapidxml.sourceforge.net/";
|
|
license = lib.licenses.boost;
|
|
platforms = lib.platforms.unix;
|
|
maintainers = [ ];
|
|
};
|
|
}
|