From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:60310) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jSlO2-0007j5-4u for guix-patches@gnu.org; Sun, 26 Apr 2020 13:48:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jSlNr-0007QR-11 for guix-patches@gnu.org; Sun, 26 Apr 2020 13:48:13 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:51534) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jSlNq-0007QI-L9 for guix-patches@gnu.org; Sun, 26 Apr 2020 13:48:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jSlNq-0000di-Jf for guix-patches@gnu.org; Sun, 26 Apr 2020 13:48:02 -0400 Subject: [bug#40875] [PATCH] Add tarsplitter Resent-Message-ID: Received: from eggs.gnu.org ([2001:470:142:3::10]:53402) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jSkbk-0006GI-NZ for guix-patches@gnu.org; Sun, 26 Apr 2020 12:58:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jSkbj-0004oW-FR for guix-patches@gnu.org; Sun, 26 Apr 2020 12:58:20 -0400 Received: from luma.6xq.net ([78.47.253.203]:58594) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jSkbi-0004f6-KX for guix-patches@gnu.org; Sun, 26 Apr 2020 12:58:19 -0400 Received: from localhost (dynamic-2a01-0c22-d063-3500-5bd4-dbd4-2048-8cfe.c22.pool.telefonica.de [IPv6:2a01:c22:d063:3500:5bd4:dbd4:2048:8cfe]) by luma.6xq.net (Postfix) with ESMTPSA id 65497BFADC for ; Sun, 26 Apr 2020 18:58:09 +0200 (CEST) Date: Sun, 26 Apr 2020 18:58:08 +0200 From: Lars-Dominik Braun Message-ID: <20200426165808.GA206869@noor.fritz.box> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="RnlQjJ0d97Da+TV1" Content-Disposition: inline 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: 40875@debbugs.gnu.org --RnlQjJ0d97Da+TV1 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit 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 --RnlQjJ0d97Da+TV1 Content-Type: text/x-diff; charset=iso-8859-1 Content-Disposition: attachment; filename="0001-gnu-Add-tarsplitter.patch" Content-Transfer-Encoding: 8bit >From 15496c335e1642339194b58a50b98f3241357d1f Mon Sep 17 00:00:00 2001 From: Lars-Dominik Braun 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 ;;; Copyright © 2020 Björn Höfling ;;; Copyright © 2020 Arun Isaac +;;; Copyright © 2020 Lars-Dominik Braun ;;; ;;; 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 --RnlQjJ0d97Da+TV1--