From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([209.51.188.92]:48617) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h3ntp-000280-Eg for guix-patches@gnu.org; Tue, 12 Mar 2019 16:21:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h3ntn-0006Y1-KS for guix-patches@gnu.org; Tue, 12 Mar 2019 16:21:21 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:55420) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1h3nti-0006TK-Cx for guix-patches@gnu.org; Tue, 12 Mar 2019 16:21:16 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1h3nti-0003mt-86 for guix-patches@gnu.org; Tue, 12 Mar 2019 16:21:14 -0400 Subject: [bug#34831] [PATCH 20/25] gnu: Add perl6-oo-monitors. Resent-Message-ID: From: Efraim Flashner Date: Tue, 12 Mar 2019 22:20:09 +0200 Message-Id: <20190312202014.31224-20-efraim@flashner.co.il> In-Reply-To: <20190312201608.30892-1-efraim@flashner.co.il> References: <20190312201608.30892-1-efraim@flashner.co.il> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 34831@debbugs.gnu.org * gnu/packages/perl6.scm (perl6-oo-monitors): New variable. --- gnu/packages/perl6.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/gnu/packages/perl6.scm b/gnu/packages/perl6.scm index 30d1f4cfdd..1d47562c13 100644 --- a/gnu/packages/perl6.scm +++ b/gnu/packages/perl6.scm @@ -423,6 +423,32 @@ as per the spec and where known the places that @quot{customary} attributes are used.") (license license:artistic2.0))) +(define-public perl6-oo-monitors + (package + (name "perl6-oo-monitors") + (version "1.1") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/jnthn/oo-monitors") + ;; The commit where 1.1 was "tagged" + (commit "494db3a3852854f30a80c9bd1489a7d5e429e7c5"))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1sbw2x54wwjjanghjnc7ipmplaw1srvbrphsdv4ym6cipnbmbj9x")))) + (build-system rakudo-build-system) + (arguments '(#:with-zef? #f)) + (home-page "https://github.com/jnthn/oo-monitors") + (synopsis "Monitors with condition variables for Perl 6") + (description "A monitor provides per-instance mutual exclusion for objects. +This means that for a given object instance, only one thread can ever be inside +its methods at a time. This is achieved by a lock being associated with each +object. The lock is acquired automatically at the entry to each method in the +monitor. Condition variables are also supported.") + (license license:artistic2.0))) + (define-public perl6-svg ;; Latest commit, basically unchanged since August 2015 (let ((commit "07190c0602aa276e5319f06aa0012452dbff3582") -- 2.21.0