mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-24 20:02:58 +03:00
tinyxml-2: 3.0.0 -> 4.0.1
This commit is contained in:
parent
3f61621354
commit
98d1bb9e6e
@ -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;
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user