From mboxrd@z Thu Jan 1 00:00:00 1970 From: ng0 Subject: [PATCH 3/4] gnu: Add libblocks-runtime. Date: Fri, 28 Oct 2016 15:01:31 +0000 Message-ID: <20161028150132.25730-4-ng0@we.make.ritual.n0.is> References: <20161028150132.25730-1-ng0@we.make.ritual.n0.is> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:52888) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c08gi-0007fH-Nc for guix-devel@gnu.org; Fri, 28 Oct 2016 11:03:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c08gf-0006Dq-FQ for guix-devel@gnu.org; Fri, 28 Oct 2016 11:03:20 -0400 Received: from aibo.runbox.com ([91.220.196.211]:51779) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1c08gf-0006D3-7G for guix-devel@gnu.org; Fri, 28 Oct 2016 11:03:17 -0400 Received: from [10.9.9.211] (helo=mailfront11.runbox.com) by bars.runbox.com with esmtp (Exim 4.71) (envelope-from ) id 1c08ge-0000ss-5a for guix-devel@gnu.org; Fri, 28 Oct 2016 17:03:16 +0200 In-Reply-To: <20161028150132.25730-1-ng0@we.make.ritual.n0.is> 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/libdispatch.scm (libblocks-runtime): New variable. --- gnu/packages/libdispatch.scm | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/gnu/packages/libdispatch.scm b/gnu/packages/libdispatch.scm index 37d9195..3902a82 100644 --- a/gnu/packages/libdispatch.scm +++ b/gnu/packages/libdispatch.scm @@ -23,6 +23,7 @@ #:use-module (guix download) #:use-module (guix build-system gnu) #:use-module (gnu packages autotools) + #:use-module (gnu packages llvm) #:use-module (gnu packages perl) #:use-module (gnu packages pkg-config) #:use-module (gnu packages ruby)) @@ -93,3 +94,36 @@ native kernel facilities.") "libpthread_workqueue is a POSIX threads workqueue library.") (synopsis "Portable implementation of the pthread_workqueue API") (license license:bsd-2))) + +(define-public libblocks-runtime + (package + (name "libblocks-runtime") + (version "0.4.1") + (source (origin + (method url-fetch) + (uri (string-append + "https://github.com/mheily/blocks-runtime/releases/" + "download/v" version "/" "libblocksruntime-" version ".tar.gz")) + (sha256 + (base32 + "1g1a25g1qfy3w21dy0kaxnj6ylbjskmsif68fw7xkavcgn6y21vq")))) + (build-system gnu-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'autogen + (lambda _ + (zero? (system* "autoreconf" "--install" "--verbose"))))))) + (native-inputs + `(("autoconf" ,(autoconf-wrapper)) + ("automake" ,automake) + ("clang" ,clang) + ("libtool" ,libtool) + ("pkg-config" ,pkg-config))) + (home-page "https://github.com/mheily/blocks-runtime/") + (description + "Blocks are a proposed extension to the C, Objective C, and C++ +languages developed by Apple to support the Grand Central Dispatch +concurrency engine.") + (synopsis "Blocks Runtime") + (license (list license:ncsa license:expat)))) -- 2.10.1