From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: [PATCH 1/7] gnu: Add nanovg-for-extempore. Date: Wed, 14 Sep 2016 11:38:06 +0200 Message-ID: <20160914093812.28422-2-rekado@elephly.net> References: <20160914093812.28422-1-rekado@elephly.net> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54557) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bk6eB-0004Wa-Qo for guix-devel@gnu.org; Wed, 14 Sep 2016 05:38:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bk6e8-0003E4-BQ for guix-devel@gnu.org; Wed, 14 Sep 2016 05:38:26 -0400 Received: from sender163-mail.zoho.com ([74.201.84.163]:21301) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bk6e8-0003Du-31 for guix-devel@gnu.org; Wed, 14 Sep 2016 05:38:24 -0400 In-Reply-To: <20160914093812.28422-1-rekado@elephly.net> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: guix-devel@gnu.org * gnu/packages/gl.scm (nanovg-for-extempore): New variable. --- gnu/packages/gl.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gnu/packages/gl.scm b/gnu/packages/gl.scm index 1aa1201..707e3d4 100644 --- a/gnu/packages/gl.scm +++ b/gnu/packages/gl.scm @@ -4,6 +4,7 @@ ;;; Copyright © 2014, 2016 David Thompson ;;; Copyright © 2014, 2015 Mark H Weaver ;;; Copyright © 2016 ng0 +;;; Copyright © 2016 Ricardo Wurmus ;;; ;;; This file is part of GNU Guix. ;;; @@ -573,3 +574,27 @@ OpenGL.") desktop computers. It provides a simple API for creating windows, contexts and surfaces, receiving input and events.") (license license:zlib))) + +(define-public nanovg-for-extempore + (package + (name "nanovg-for-extempore") + (version "0.7.1") + (source (origin + (method url-fetch) + (uri (string-append "https://github.com/extemporelang/nanovg/" + "archive/" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0ivs1sagq19xiw8jxd9f8w2b39svi0n9hrbmdvckwvqg95r8701g")))) + (build-system cmake-build-system) + (arguments `(#:tests? #f)) ; no tests included + (inputs + `(("mesa" ,mesa))) + (home-page "https://github.com/extemporelang/nanovg") + (synopsis "2D vector drawing library on top of OpenGL") + (description "NanoVG is small antialiased vector graphics rendering +library for OpenGL. It has lean API modeled after HTML5 canvas API. It is +aimed to be a practical and fun toolset for building scalable user interfaces +and visualizations.") + (license license:zlib))) -- 2.10.0