2021-01-21 17:00:13 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, cmake }:
|
2016-11-01 13:21:23 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "tinyxml-2";
|
2018-01-16 19:59:45 +00:00
|
|
|
version = "6.0.0";
|
2016-11-01 13:21:23 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
repo = "tinyxml2";
|
|
|
|
owner = "leethomason";
|
|
|
|
rev = version;
|
2018-01-16 19:59:45 +00:00
|
|
|
sha256 = "031fmhpah449h3rkyamzzdpzccrrfrvjb4qn6vx2vjm47jwc54qv";
|
2016-03-26 17:55:19 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ cmake ];
|
2016-08-02 17:06:29 +01:00
|
|
|
|
|
|
|
meta = {
|
2016-11-01 13:21:23 +00:00
|
|
|
description = "A simple, small, efficient, C++ XML parser";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "http://www.grinninglizard.com/tinyxml2/index.html";
|
2021-01-21 17:00:13 +00:00
|
|
|
platforms = lib.platforms.unix;
|
|
|
|
license = lib.licenses.zlib;
|
2016-08-02 17:06:29 +01:00
|
|
|
};
|
2016-03-26 17:55:19 +00:00
|
|
|
}
|