From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id aMZUGH3YR2D1HgAA0tVLHw (envelope-from ) for ; Tue, 09 Mar 2021 20:20:13 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id sEEYFH3YR2BjegAAB5/wlQ (envelope-from ) for ; Tue, 09 Mar 2021 20:20:13 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id BD5EE8696 for ; Tue, 9 Mar 2021 21:20:12 +0100 (CET) Received: from localhost ([::1]:53114 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lJipv-0001Vv-QG for larch@yhetil.org; Tue, 09 Mar 2021 15:20:11 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:33194) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lJiE2-00010P-Pu for guix-patches@gnu.org; Tue, 09 Mar 2021 14:41:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:36450) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lJiE2-0005sp-D4 for guix-patches@gnu.org; Tue, 09 Mar 2021 14:41:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lJiE2-0001Uj-9o for guix-patches@gnu.org; Tue, 09 Mar 2021 14:41:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#47027] [PATCH 2/2] gnu: Add disarchive. Resent-From: Timothy Sample Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 09 Mar 2021 19:41:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47027 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 47027@debbugs.gnu.org Cc: Timothy Sample Received: via spool by 47027-submit@debbugs.gnu.org id=B47027.16153188355698 (code B ref 47027); Tue, 09 Mar 2021 19:41:02 +0000 Received: (at 47027) by debbugs.gnu.org; 9 Mar 2021 19:40:35 +0000 Received: from localhost ([127.0.0.1]:47995 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lJiDb-0001Tq-7y for submit@debbugs.gnu.org; Tue, 09 Mar 2021 14:40:35 -0500 Received: from wout4-smtp.messagingengine.com ([64.147.123.20]:58611) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lJiDZ-0001Td-Ft for 47027@debbugs.gnu.org; Tue, 09 Mar 2021 14:40:34 -0500 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.west.internal (Postfix) with ESMTP id E0FEA144C; Tue, 9 Mar 2021 14:40:27 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Tue, 09 Mar 2021 14:40:28 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; bh=r9lDAWDKlcSgUIqHFv3fRnQibVYTozv7jXANMYtcG Ys=; b=GT4VINCu0NchTkKrrd7aKCzAC/j1fl5ErgfLZoQjfbdvuPOZufNklLvLH xti/rfV1f0MlmEFPdMRUtUSe11TEFIxAa1LAJWtonqUjdcDVe2danNj0yR4HEIR2 I+6QDfah9ABGkZ4cvDm5/wUjmX35mKxIjWZHj74yJOtDPk1QahkStoczF2TkRUL5 sD5Lb7pz8gMGXrRyU2Ja+QOFnWCVscSu7XJ4kJ1qYJYQ+EnmblEj7wIgDfQfowU/ aDys9a85eCHL4zisTRjQ7jY/VrryuWKXqRMm9bhuRWPE/0gobCBrsWnbaN52o5kL a4G7Jd+H5BVK3Mlo/qEEwZbV4RFvA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrudduiedguddvkecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecunecujfgurhephffvufffkffojghfgggtgfesth ekredtredtjeenucfhrhhomhepvfhimhhothhhhicuufgrmhhplhgvuceoshgrmhhplhgv thesnhhghihrohdrtghomheqnecuggftrfgrthhtvghrnheptefgudeukeefgeegvdekie egteefvedvfedvffelgeekffdugfelveevvdeukeevnecuffhomhgrihhnpehgnhhurdho rhhgpdhnghihrhhordgtohhmnecukfhppeejgedrudduiedrudekiedrgeegnecuvehluh hsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepshgrmhhplhgvthes nhhghihrohdrtghomh X-ME-Proxy: Received: from mrblack.lan (74-116-186-44.qc.dsl.ebox.net [74.116.186.44]) by mail.messagingengine.com (Postfix) with ESMTPA id 4D9F024005E; Tue, 9 Mar 2021 14:40:27 -0500 (EST) From: Timothy Sample Date: Tue, 9 Mar 2021 14:39:25 -0500 Message-Id: <20210309193925.15447-2-samplet@ngyro.com> X-Mailer: git-send-email 2.30.1 In-Reply-To: <20210309193925.15447-1-samplet@ngyro.com> References: <20210309193925.15447-1-samplet@ngyro.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1615321212; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=r9lDAWDKlcSgUIqHFv3fRnQibVYTozv7jXANMYtcGYs=; b=AiplGNymjXCFlZ3IEZZ/ogIne4mPXyArn3RTKRT2l6zDaVozAAJeTwesSaWmzD6iE8UoJC lEulA7jV3Ex7w7pwMIUcJjJqUPf2h7A32JC0Bqlg1ZB/qbbitrJ7ZEAaLqeE5ytAZtTSxW +2+csM8l5M0KljnCxVvPjltHyJ1c55BFVcrEjYgjdJDAbPzaa9GgWjvzOREDSO2ATZ4sh/ LxvIo04KAwU4HJM5SyK/SmyNFRkNZctSFHsmV9sRK7yFg0zP2CqsSvThQmmBZb3OHDMxE5 4wtn8LSCJ03NmWTwLeZO6wlNsX2UQqegNjPWta93d3p/NEUqNJWVHchmK43KSg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1615321212; a=rsa-sha256; cv=none; b=nqgRjNRPo4gVhRAp0XFCP0FsuPeXyp5E7lNVm49JYVNfwvW2jjOiXFxxtB37b9+dzkfRNO ahjoS+OiqOQYlB71StnOg/DtRTVYDi2LB9QOBFhqUmwtGZTHD/Hj7HB2lvAV+bWJbLblLQ QDUVqo/C4KkWtFir3NmaANoJ9wWKvpODZfOvTYTalljJaW5oQRnNxFg9JdXTcyA8Ojwge0 dONRCX5lWkiepI3bcVbnM2JbX9fwTFRdxrs2fymUHtvYwit3H26ngR2fAnsocgy78sWuIt hHMYjD3bvKGxMx0ZUganywZyF1QvE41HvvSjzbdhf6WMQKMXintTrBtJcFDWWw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm2 header.b=GT4VINCu; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: -0.38 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm2 header.b=GT4VINCu; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: BD5EE8696 X-Spam-Score: -0.38 X-Migadu-Scanner: scn1.migadu.com X-TUID: WliourpNuzQ7 * gnu/packages/archival.scm: New file. * gnu/local.mk (GNU_SYSTEM_MODULES): Add it. --- gnu/local.mk | 1 + gnu/packages/archival.scm | 60 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 61 insertions(+) create mode 100644 gnu/packages/archival.scm diff --git a/gnu/local.mk b/gnu/local.mk index 3a516d487f..775080190e 100644 --- a/gnu/local.mk +++ b/gnu/local.mk @@ -88,6 +88,7 @@ GNU_SYSTEM_MODULES = \ %D%/packages/apl.scm \ %D%/packages/apr.scm \ %D%/packages/arcan.scm \ + %D%/packages/archival.scm \ %D%/packages/aspell.scm \ %D%/packages/assembly.scm \ %D%/packages/astronomy.scm \ diff --git a/gnu/packages/archival.scm b/gnu/packages/archival.scm new file mode 100644 index 0000000000..6bb1370664 --- /dev/null +++ b/gnu/packages/archival.scm @@ -0,0 +1,60 @@ +;;; GNU Guix --- Functional package management for GNU +;;; Copyright © 2021 Timothy Sample +;;; +;;; This file is part of GNU Guix. +;;; +;;; GNU Guix is free software; you can redistribute it and/or modify it +;;; under the terms of the GNU General Public License as published by +;;; the Free Software Foundation; either version 3 of the License, or (at +;;; your option) any later version. +;;; +;;; GNU Guix is distributed in the hope that it will be useful, but +;;; WITHOUT ANY WARRANTY; without even the implied warranty of +;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +;;; GNU General Public License for more details. +;;; +;;; You should have received a copy of the GNU General Public License +;;; along with GNU Guix. If not, see . + +(define-module (gnu packages archival) + #:use-module (gnu packages compression) + #:use-module (gnu packages gnupg) + #:use-module (gnu packages guile) + #:use-module (gnu packages guile-xyz) + #:use-module (gnu packages pkg-config) + #:use-module (guix build-system gnu) + #:use-module (guix download) + #:use-module ((guix licenses) #:prefix license:) + #:use-module (guix packages)) + +(define with-guile-3.0-latest + (package-input-rewriting `((,guile-3.0 . ,guile-3.0-latest)) #:deep? #f)) + +(define-public disarchive + (package + (name "disarchive") + (version "0.1.0") + (source (origin + (method url-fetch) + (uri (string-append "https://files.ngyro.com/disarchive/" + "disarchive-" version ".tar.gz")) + (sha256 + (base32 + "0yvcfv2zlfqwmigd2xpzfkairz4w32b9gi1pbj5id55z21p0k49c")))) + (build-system gnu-build-system) + (native-inputs + `(("pkg-config" ,pkg-config) + ("guile-quickcheck" ,(with-guile-3.0-latest guile-quickcheck)))) + (inputs + `(("guile" ,guile-3.0-latest) + ("guile-gcrypt" ,(with-guile-3.0-latest guile-gcrypt)) + ("zlib" ,zlib))) + (home-page "https://ngyro.com/software/disarchive.html") + (synopsis "Software archive disassembler") + (description "Disarchive can disassemble software archives into data +and metadata. The goal is to create a small amount of metadata that +can be used to recreate a software archive bit-for-bit from the +original files. For example, a software archive made using tar and +Gzip will need to describe the order of files in the tarball and the +compression parameters used by Gzip.") + (license license:gpl3+))) -- 2.30.1