nixpkgs/pkgs/development/libraries/tinyxml-2/default.nix

23 lines
553 B
Nix
Raw Normal View History

2016-11-01 14:21:23 +01:00
{ stdenv, fetchFromGitHub, cmake }:
stdenv.mkDerivation rec {
2016-03-26 18:55:19 +01:00
name = "tinyxml-2-${version}";
2018-01-16 20:59:45 +01:00
version = "6.0.0";
2016-11-01 14:21:23 +01:00
src = fetchFromGitHub {
repo = "tinyxml2";
owner = "leethomason";
rev = version;
2018-01-16 20:59:45 +01:00
sha256 = "031fmhpah449h3rkyamzzdpzccrrfrvjb4qn6vx2vjm47jwc54qv";
2016-03-26 18:55:19 +01:00
};
nativeBuildInputs = [ cmake ];
meta = {
2016-11-01 14:21:23 +01:00
description = "A simple, small, efficient, C++ XML parser";
homepage = http://www.grinninglizard.com/tinyxml2/index.html;
platforms = stdenv.lib.platforms.unix;
2016-11-01 14:21:23 +01:00
license = stdenv.lib.licenses.zlib;
};
2016-03-26 18:55:19 +01:00
}