forked from mirrors/nixpkgs
2258b21e4b
Build-tested on x86_64 Linux and on Darwin.
16 lines
382 B
Nix
16 lines
382 B
Nix
{ stdenv, fetchurl, cmake }:
|
|
let version = "3.0.0";
|
|
in stdenv.mkDerivation rec {
|
|
name = "tinyxml-2-${version}";
|
|
src = fetchurl {
|
|
url = "https://github.com/leethomason/tinyxml2/archive/${version}.tar.gz";
|
|
sha256 = "0ispg7ngkry8vhzzawbq42y8gkj53xjipkycw0rkhh487ras32hj";
|
|
};
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
meta = {
|
|
platforms = stdenv.lib.platforms.unix;
|
|
};
|
|
}
|