From mboxrd@z Thu Jan 1 00:00:00 1970 From: Arun Isaac Subject: [PATCH 4/5] gnu: Add python2-larch. Date: Wed, 8 Mar 2017 15:42:31 +0530 Message-ID: <20170308101232.4038-4-arunisaac@systemreboot.net> References: <20170308101232.4038-1-arunisaac@systemreboot.net> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:50854) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1clen8-0007de-RS for guix-devel@gnu.org; Wed, 08 Mar 2017 11:50:24 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1clen5-0001br-NT for guix-devel@gnu.org; Wed, 08 Mar 2017 11:50:22 -0500 Received: from [117.218.232.8] (port=59624 helo=systemreboot.net) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1clen5-0001aM-4z for guix-devel@gnu.org; Wed, 08 Mar 2017 11:50:19 -0500 Received: from [117.192.109.75] (helo=systemreboot.net) by systemreboot.net with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.88) (envelope-from ) id 1cldcd-0000Cl-7R for guix-devel@gnu.org; Wed, 08 Mar 2017 21:05:27 +0530 In-Reply-To: <20170308101232.4038-1-arunisaac@systemreboot.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/python.scm (python2-larch): New variable. --- gnu/packages/python.scm | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 5bb5ccf50..20f7d0c69 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -13515,3 +13515,34 @@ based on the filename they occur in. It is much faster than using is run in production mode. The actual logging still happens using the `logging` library.") (license license:gpl3+))) + +(define-public python2-larch + (package + (name "python2-larch") + (version "1.20151025") + (source + (origin + (method url-fetch) + (uri (string-append + "http://git.liw.fi/cgi-bin/cgit/cgit.cgi/larch/snapshot/larch-" + version ".tar.gz")) + (sha256 + (base32 + "1p4knkkavlqymgciz2wbcnfrdgdbafhg14maplnk4vbw0q8xs663")))) + (build-system python-build-system) + (arguments + `(#:python ,python-2)) + (inputs + `(("python2-tracing" ,python2-tracing))) + (home-page "https://liw.fi/larch/") + (synopsis "Python copy-on-write B-tree library") + (description "Larch is an implementation of particular +kind of B-tree, based on research by Ohad Rodeh. See +http://liw.fi/larch/ohad-btrees-shadowing-clones.pdf for details on +the data structure. + +The distinctive feature of this B-tree is that a node is never +(conceptually) modified. Instead, all updates are done by +copy-on-write. This makes it easy to clone a tree, and modify only the +clone, while other processes access the original tree.") + (license license:gpl3+))) -- 2.11.0