tinyxml-2: 3.0.0 -> 4.0.1

This commit is contained in:
Joachim Fasting 2016-11-01 14:21:23 +01:00
parent 3f61621354
commit 98d1bb9e6e
No known key found for this signature in database
GPG Key ID: 7544761007FE4E08

View File

@ -1,15 +1,22 @@
{ stdenv, fetchurl, cmake }:
let version = "3.0.0";
in stdenv.mkDerivation rec {
{ stdenv, fetchFromGitHub, cmake }:
stdenv.mkDerivation rec {
name = "tinyxml-2-${version}";
src = fetchurl {
url = "https://github.com/leethomason/tinyxml2/archive/${version}.tar.gz";
sha256 = "0ispg7ngkry8vhzzawbq42y8gkj53xjipkycw0rkhh487ras32hj";
version = "4.0.1";
src = fetchFromGitHub {
repo = "tinyxml2";
owner = "leethomason";
rev = version;
sha256 = "1a0skfi8rzk53qcxbv88qlvhlqzvsvg4hm20dnx4zw7vrn6anr9y";
};
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;
};
}