mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-29 09:02:46 +00:00
23 lines
553 B
Nix
23 lines
553 B
Nix
{ stdenv, fetchFromGitHub, cmake }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "tinyxml-2-${version}";
|
|
version = "6.0.0";
|
|
|
|
src = fetchFromGitHub {
|
|
repo = "tinyxml2";
|
|
owner = "leethomason";
|
|
rev = version;
|
|
sha256 = "031fmhpah449h3rkyamzzdpzccrrfrvjb4qn6vx2vjm47jwc54qv";
|
|
};
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
meta = {
|
|
description = "A simple, small, efficient, C++ XML parser";
|
|
homepage = http://www.grinninglizard.com/tinyxml2/index.html;
|
|
platforms = stdenv.lib.platforms.unix;
|
|
license = stdenv.lib.licenses.zlib;
|
|
};
|
|
}
|