summary refs log tree commit diff
path: root/pkgs/development/libraries/tinyxml-2/default.nix
blob: 4fc1da1fe0a3acda21ea614d82aa1eacef78ea3b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{ stdenv, fetchFromGitHub, cmake }:

stdenv.mkDerivation rec {
  pname = "tinyxml-2";
  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;
  };
}