From: Lars-Dominik Braun <lars@6xq.net>
To: 40875@debbugs.gnu.org
Subject: [bug#40875] [PATCH] Add tarsplitter
Date: Sun, 26 Apr 2020 18:58:08 +0200 [thread overview]
Message-ID: <20200426165808.GA206869@noor.fritz.box> (raw)
[-- Attachment #1: Type: text/plain, Size: 185 bytes --]
Hi,
the attched patch adds the software tarsplitter. I wasn’t sure about the
file compression.scm, but all the file archive related software seems to
be in there too.
Cheers,
Lars
[-- Attachment #2: 0001-gnu-Add-tarsplitter.patch --]
[-- Type: text/x-diff, Size: 2812 bytes --]
From 15496c335e1642339194b58a50b98f3241357d1f Mon Sep 17 00:00:00 2001
From: Lars-Dominik Braun <lars@6xq.net>
Date: Sun, 26 Apr 2020 17:54:54 +0200
Subject: [PATCH] gnu: Add tarsplitter
* gnu/packages/compression.scm (tarsplitter): New variable
---
gnu/packages/compression.scm | 38 ++++++++++++++++++++++++++++++++++++
1 file changed, 38 insertions(+)
diff --git a/gnu/packages/compression.scm b/gnu/packages/compression.scm
index 33801d201d..e8ddddf696 100644
--- a/gnu/packages/compression.scm
+++ b/gnu/packages/compression.scm
@@ -27,6 +27,7 @@
;;; Copyright © 2019 Jan (janneke) Nieuwenhuizen <janneke@gnu.org>
;;; Copyright © 2020 Björn Höfling <bjoern.hoefling@bjoernhoefling.de>
;;; Copyright © 2020 Arun Isaac <arunisaac@systemreboot.net>
+;;; Copyright © 2020 Lars-Dominik Braun <lars@6xq.net>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -52,6 +53,7 @@
#:use-module (guix build-system cmake)
#:use-module (guix build-system glib-or-gtk)
#:use-module (guix build-system gnu)
+ #:use-module (guix build-system go)
#:use-module (guix build-system python)
#:use-module (guix build-system trivial)
#:use-module (gnu packages)
@@ -2131,3 +2133,39 @@ independent. Supported formats are 7z, ARJ, bzip2, gzip, LHA, lzma, lzop,
RAR, RPM, DEB, tar, and ZIP. It cannot perform functions for archives, whose
archiver is not installed.")
(license license:gpl2+)))
+
+(define-public tarsplitter
+ (package
+ (name "tarsplitter")
+ (version "2.2.0")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/AQUAOSOTech/tarsplitter.git")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "17qkg95r97kcrs17b0mcqswx99280ni47j5yx8xa7nl3bdhm6325"))))
+ (build-system go-build-system)
+ (arguments
+ `(#:import-path "github.com/AQUAOSOTech/tarsplitter"
+ #:install-source? #f
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'install 'install-documentation
+ (lambda* (#:key import-path outputs #:allow-other-keys)
+ (let* ((source (string-append "src/" import-path))
+ (out (assoc-ref outputs "out"))
+ (doc (string-append out "/share/doc/" ,name "-" ,version)))
+ (with-directory-excursion source
+ (install-file "README.md" doc))
+ #t))))))
+ (home-page "https://github.com/AQUAOSOTech/tarsplitter")
+ (synopsis
+ "Multithreaded tar utility")
+ (description
+ "Archive huge numbers of files, or spilt massive tar archives into smaller
+ chunks.")
+ (license license:expat)))
+
--
2.26.2
next reply other threads:[~2020-04-26 17:48 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-26 16:58 Lars-Dominik Braun [this message]
2020-04-26 18:09 ` bug#40875: [PATCH] Add tarsplitter Efraim Flashner
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200426165808.GA206869@noor.fritz.box \
--to=lars@6xq.net \
--cc=40875@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).