* [PATCH 4/5] gnu: Add python2-larch.
2017-03-08 10:12 [PATCH 1/5] gnu: Add python2-cliapp Arun Isaac
@ 2017-03-08 10:12 ` Arun Isaac
0 siblings, 0 replies; 8+ messages in thread
From: Arun Isaac @ 2017-03-08 10:12 UTC (permalink / raw)
To: guix-devel
* 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
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [PATCH 1/5] gnu: Add python2-cliapp.
@ 2017-03-08 17:58 Arun Isaac
2017-03-08 17:58 ` [PATCH 2/5] gnu: Add python2-ttystatus Arun Isaac
` (3 more replies)
0 siblings, 4 replies; 8+ messages in thread
From: Arun Isaac @ 2017-03-08 17:58 UTC (permalink / raw)
To: guix-devel
* gnu/packages/python.scm (python2-cliapp): New variable.
---
gnu/packages/python.scm | 29 ++++++++++++++++++++++++++++-
1 file changed, 28 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 1ce0cc47e..ea357ad00 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -30,7 +30,7 @@
;;; Copyright © 2016 Stefan Reichoer <stefan@xsteve.at>
;;; Copyright © 2016 Dylan Jeffers <sapientech@sapientech@openmailbox.org>
;;; Copyright © 2016 Alex Vong <alexvong1995@gmail.com>
-;;; Copyright © 2016 Arun Isaac <arunisaac@systemreboot.net>
+;;; Copyright © 2016, 2017 Arun Isaac <arunisaac@systemreboot.net>
;;; Copyright © 2016, 2017 Julien Lepiller <julien@lepiller.eu>
;;; Copyright © 2016, 2017 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2016, 2017 Thomas Danckaert <post@thomasdanckaert.be>
@@ -13437,3 +13437,30 @@ specified to apply on the key before comparison (e.g. @code{string.lower})).")
Python. It is based on Parsing Expression Grammars, PEG. With pyPEG you can
parse many formal languages.")
(license license:gpl2)))
+
+(define-public python2-cliapp
+ (package
+ (name "python2-cliapp")
+ (version "1.20160724")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "http://git.liw.fi/cgi-bin/cgit/cgit.cgi/cliapp/snapshot/cliapp-"
+ version ".tar.gz"))
+ (sha256
+ (base32
+ "025cyi75vxyghbm4hav8dz4fzwksshddavy9g9fwr440awcvw74f"))))
+ (build-system python-build-system)
+ (arguments
+ `(#:python ,python-2))
+ (propagated-inputs
+ `(("python2-pyaml" ,python2-pyaml)))
+ (home-page "https://liw.fi/cliapp/")
+ (synopsis "Python framework for command line programs")
+ (description "@code{python2-cliapp} is a python framework for
+command line programs. It contains the typical stuff such programs
+need to do, such as parsing the command line for options, and
+iterating over input files.")
+ (license license:gpl2+)))
+
--
2.11.0
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [PATCH 2/5] gnu: Add python2-ttystatus.
2017-03-08 17:58 [PATCH 1/5] gnu: Add python2-cliapp Arun Isaac
@ 2017-03-08 17:58 ` Arun Isaac
2017-03-08 17:58 ` [PATCH 3/5] gnu: Add python2-tracing Arun Isaac
` (2 subsequent siblings)
3 siblings, 0 replies; 8+ messages in thread
From: Arun Isaac @ 2017-03-08 17:58 UTC (permalink / raw)
To: guix-devel
* gnu/packages/python.scm (python2-ttystatus): New variable.
---
gnu/packages/python.scm | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index ea357ad00..443958548 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -13464,3 +13464,28 @@ need to do, such as parsing the command line for options, and
iterating over input files.")
(license license:gpl2+)))
+(define-public python2-ttystatus
+ (package
+ (name "python2-ttystatus")
+ (version "0.32")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "http://git.liw.fi/cgi-bin/cgit/cgit.cgi/ttystatus/snapshot/ttystatus-"
+ version ".tar.gz"))
+ (sha256
+ (base32
+ "0b5g889jj23r2w1hi300cdldx6jvspanp0ybf5n1qvdvl150aamf"))))
+ (build-system python-build-system)
+ (arguments
+ `(#:python ,python-2))
+ (home-page "https://liw.fi/ttystatus/")
+ (synopsis "Python library for showing progress reporting and
+status updates on terminals")
+ (description "@code{python2-ttystatus} is a python library for
+showing progress reporting and status updates on terminals, for
+command line programs. Output is automatically adapted to the width
+of the terminal: truncated if it does not fit, and resized if the
+terminal size changes.")
+ (license license:gpl3+)))
--
2.11.0
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [PATCH 3/5] gnu: Add python2-tracing.
2017-03-08 17:58 [PATCH 1/5] gnu: Add python2-cliapp Arun Isaac
2017-03-08 17:58 ` [PATCH 2/5] gnu: Add python2-ttystatus Arun Isaac
@ 2017-03-08 17:58 ` Arun Isaac
2017-03-08 17:58 ` [PATCH 4/5] gnu: Add python2-larch Arun Isaac
2017-03-08 17:58 ` [PATCH 5/5] gnu: Add obnam Arun Isaac
3 siblings, 0 replies; 8+ messages in thread
From: Arun Isaac @ 2017-03-08 17:58 UTC (permalink / raw)
To: guix-devel
* gnu/packages/python.scm (python2-tracing): New variable.
---
gnu/packages/python.scm | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 443958548..70833773f 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -13489,3 +13489,29 @@ command line programs. Output is automatically adapted to the width
of the terminal: truncated if it does not fit, and resized if the
terminal size changes.")
(license license:gpl3+)))
+
+(define-public python2-tracing
+ (package
+ (name "python2-tracing")
+ (version "0.10")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "http://git.liw.fi/cgi-bin/cgit/cgit.cgi/python-tracing/snapshot/tracing-"
+ version ".tar.gz"))
+ (sha256
+ (base32
+ "06cw4zg42fsvqy372vi2whj26w56vzg5axhzwdjc2bgwf03garbw"))))
+ (build-system python-build-system)
+ (arguments
+ `(#:python ,python-2))
+ (home-page "https://liw.fi/tracing/")
+ (synopsis "Python debug logging helper")
+ (description "@code{python2-tracing} is a python library for
+logging debug messages. It provides a way to turn debugging messages
+on and off, based on the filename they occur in. It is much faster
+than using `logging.Filter` to accomplish the same thing, which
+matters when code is run in production mode. The actual logging still
+happens using the `logging` library.")
+ (license license:gpl3+)))
--
2.11.0
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [PATCH 4/5] gnu: Add python2-larch.
2017-03-08 17:58 [PATCH 1/5] gnu: Add python2-cliapp Arun Isaac
2017-03-08 17:58 ` [PATCH 2/5] gnu: Add python2-ttystatus Arun Isaac
2017-03-08 17:58 ` [PATCH 3/5] gnu: Add python2-tracing Arun Isaac
@ 2017-03-08 17:58 ` Arun Isaac
2017-03-08 17:58 ` [PATCH 5/5] gnu: Add obnam Arun Isaac
3 siblings, 0 replies; 8+ messages in thread
From: Arun Isaac @ 2017-03-08 17:58 UTC (permalink / raw)
To: guix-devel
* 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 70833773f..476b6f9bf 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -13515,3 +13515,34 @@ than using `logging.Filter` to accomplish the same thing, which
matters when code 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))
+ (propagated-inputs
+ `(("python2-tracing" ,python2-tracing)))
+ (home-page "https://liw.fi/larch/")
+ (synopsis "Python copy-on-write B-tree library")
+ (description "@code{python2-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
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [PATCH 5/5] gnu: Add obnam.
2017-03-08 17:58 [PATCH 1/5] gnu: Add python2-cliapp Arun Isaac
` (2 preceding siblings ...)
2017-03-08 17:58 ` [PATCH 4/5] gnu: Add python2-larch Arun Isaac
@ 2017-03-08 17:58 ` Arun Isaac
2017-03-09 16:23 ` Marius Bakke
3 siblings, 1 reply; 8+ messages in thread
From: Arun Isaac @ 2017-03-08 17:58 UTC (permalink / raw)
To: guix-devel
* gnu/packages/backup.scm (obnam): New variable.
---
gnu/packages/backup.scm | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
diff --git a/gnu/packages/backup.scm b/gnu/packages/backup.scm
index 986ffef08..3b8d46ec4 100644
--- a/gnu/packages/backup.scm
+++ b/gnu/packages/backup.scm
@@ -3,6 +3,7 @@
;;; Copyright © 2014 Ian Denhardt <ian@zenhack.net>
;;; Copyright © 2015, 2016 Leo Famulari <leo@famulari.name>
;;; Copyright © 2017 Tobias Geerinckx-Rice <me@tobias.gr>
+;;; Copyright © 2017 Arun Isaac <arunisaac@systemreboot.net>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -590,3 +591,35 @@ NTFS volumes using @code{ntfs-3g}, preserving NTFS-specific attributes.")
(license (list license:gpl3+
license:lgpl3+
license:cc0))))
+
+(define-public obnam
+ (package
+ (name "obnam")
+ (version "1.21")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "http://code.liw.fi/debian/pool/main/o/obnam/obnam_"
+ version ".orig.tar.xz"))
+ (sha256
+ (base32
+ "0qlipsq50hca71zc0dp1mg9zs12qm0sbblw7qfzl0hj6mk2rv1by"))))
+ (build-system python-build-system)
+ (arguments
+ `(#:python ,python-2))
+ (inputs
+ `(("python2-cliapp" ,python2-cliapp)
+ ("python2-larch" ,python2-larch)
+ ("python2-paramiko" ,python2-paramiko)
+ ("python2-pyaml" ,python2-pyaml)
+ ("python2-tracing" ,python2-tracing)
+ ("python2-ttystatus" ,python2-ttystatus)))
+ (home-page "https://obnam.org/")
+ (synopsis "Easy and secure backup program")
+ (description "Obnam is an easy, secure backup program. Features
+include snapshot backups, data de-duplication and encrypted backups
+using GnuPG. Backups can be stored on local hard disks, or online via
+the SSH SFTP protocol. The backup server, if used, does not require
+any special software, on top of SSH.")
+ (license license:gpl3+)))
--
2.11.0
^ permalink raw reply related [flat|nested] 8+ messages in thread
* Re: [PATCH 5/5] gnu: Add obnam.
2017-03-08 17:58 ` [PATCH 5/5] gnu: Add obnam Arun Isaac
@ 2017-03-09 16:23 ` Marius Bakke
2017-03-09 17:29 ` Arun Isaac
0 siblings, 1 reply; 8+ messages in thread
From: Marius Bakke @ 2017-03-09 16:23 UTC (permalink / raw)
To: Arun Isaac, guix-devel
[-- Attachment #1: Type: text/plain, Size: 329 bytes --]
Arun Isaac <arunisaac@systemreboot.net> writes:
> * gnu/packages/backup.scm (obnam): New variable.
Thanks for this (and the dependencies)!
Unfortunately the obnam patch does not apply due to recent changes in
backup.scm, can you rebase it on current 'master' and send an updated
patch?
I've pushed the python packages.
TIA!
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH 5/5] gnu: Add obnam.
2017-03-09 16:23 ` Marius Bakke
@ 2017-03-09 17:29 ` Arun Isaac
0 siblings, 0 replies; 8+ messages in thread
From: Arun Isaac @ 2017-03-09 17:29 UTC (permalink / raw)
To: guix-devel
[-- Attachment #1: Type: text/plain, Size: 171 bytes --]
> Unfortunately the obnam patch does not apply due to recent changes in
> backup.scm, can you rebase it on current 'master' and send an updated
> patch?
New patch sent.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2017-03-09 17:30 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-03-08 17:58 [PATCH 1/5] gnu: Add python2-cliapp Arun Isaac
2017-03-08 17:58 ` [PATCH 2/5] gnu: Add python2-ttystatus Arun Isaac
2017-03-08 17:58 ` [PATCH 3/5] gnu: Add python2-tracing Arun Isaac
2017-03-08 17:58 ` [PATCH 4/5] gnu: Add python2-larch Arun Isaac
2017-03-08 17:58 ` [PATCH 5/5] gnu: Add obnam Arun Isaac
2017-03-09 16:23 ` Marius Bakke
2017-03-09 17:29 ` Arun Isaac
-- strict thread matches above, loose matches on Subject: below --
2017-03-08 10:12 [PATCH 1/5] gnu: Add python2-cliapp Arun Isaac
2017-03-08 10:12 ` [PATCH 4/5] gnu: Add python2-larch Arun Isaac
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).