From 931bd7f6ce1845cae81e3e0b758a770c47e2cc90 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Sun, 11 Sep 2016 02:52:32 +0200 Subject: gnu: Add tinyxml2. * gnu/packages/xml.scm (tinyxml2): New variable. --- gnu/packages/xml.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'gnu/packages') diff --git a/gnu/packages/xml.scm b/gnu/packages/xml.scm index e9074dbe12..7befad54aa 100644 --- a/gnu/packages/xml.scm +++ b/gnu/packages/xml.scm @@ -12,6 +12,7 @@ ;;; Copyright © 2016 Ben Woodcroft ;;; Copyright © 2016 Jan Nieuwenhuizen ;;; Copyright © 2016 ng0 +;;; Copyright © 2016 Tobias Geerinckx-Rice ;;; ;;; This file is part of GNU Guix. ;;; @@ -883,6 +884,27 @@ C++ programming language.") (home-page "http://www.grinninglizard.com/tinyxml/index.html") (license license:zlib))) +(define-public tinyxml2 + (package + (name "tinyxml2") + (version "4.0.1") + (source + (origin + (method url-fetch) + (uri (string-append "https://github.com/leethomason/tinyxml2/archive/" + version ".tar.gz")) + (sha256 + (base32 + "083z4r4khcndxi9k840lcr48sqxvar4gpsnf749xfdn1bkr8xcql")))) + (build-system cmake-build-system) + (arguments + `(#:tests? #f)) ; no tests + (synopsis "Small XML parser for C++") + (description "TinyXML2 is a small and simple XML parsing library for the +C++ programming language.") + (home-page "http://www.grinninglizard.com/tinyxml2/") + (license license:zlib))) + (define-public xmlstarlet (package (name "xmlstarlet") -- cgit 1.4.1