2016-11-01 13:21:23 +00:00
|
|
|
{ stdenv, fetchFromGitHub, cmake }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2016-03-26 17:55:19 +00:00
|
|
|
name = "tinyxml-2-${version}";
|
2016-11-01 13:21:23 +00:00
|
|
|
version = "4.0.1";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
repo = "tinyxml2";
|
|
|
|
owner = "leethomason";
|
|
|
|
rev = version;
|
|
|
|
sha256 = "1a0skfi8rzk53qcxbv88qlvhlqzvsvg4hm20dnx4zw7vrn6anr9y";
|
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";
|
|
|
|
homepage = http://www.grinninglizard.com/tinyxml2/index.html;
|
2016-08-02 17:06:29 +01:00
|
|
|
platforms = stdenv.lib.platforms.unix;
|
2016-11-01 13:21:23 +00:00
|
|
|
license = stdenv.lib.licenses.zlib;
|
2016-08-02 17:06:29 +01:00
|
|
|
};
|
2016-03-26 17:55:19 +00:00
|
|
|
}
|