From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id 815eLh7VfGRtIgEASxT56A (envelope-from ) for ; Sun, 04 Jun 2023 20:17:02 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id SGG/LR7VfGR+zAAA9RJhRA (envelope-from ) for ; Sun, 04 Jun 2023 20:17:02 +0200 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 721F4270C8 for ; Sun, 4 Jun 2023 20:17:02 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q5rmg-0005AY-Ex; Sun, 04 Jun 2023 13:44:54 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q5rmP-0004tj-M8 for guix-patches@gnu.org; Sun, 04 Jun 2023 13:44:37 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1q5rm1-0002ER-QR for guix-patches@gnu.org; Sun, 04 Jun 2023 13:44:14 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1q5rm1-0000sP-MZ for guix-patches@gnu.org; Sun, 04 Jun 2023 13:44:13 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#63894] [PATCH 22/55] gnu: Add perl-file-libmagic. Resent-From: Antero Mejr Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 04 Jun 2023 17:44:13 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63894 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 63894@debbugs.gnu.org Received: via spool by 63894-submit@debbugs.gnu.org id=B63894.16859006172749 (code B ref 63894); Sun, 04 Jun 2023 17:44:13 +0000 Received: (at 63894) by debbugs.gnu.org; 4 Jun 2023 17:43:37 +0000 Received: from localhost ([127.0.0.1]:47173 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q5rlQ-0000iA-Hv for submit@debbugs.gnu.org; Sun, 04 Jun 2023 13:43:36 -0400 Received: from mout-p-103.mailbox.org ([80.241.56.161]:40942) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q5rlM-0000g1-Ge for 63894@debbugs.gnu.org; Sun, 04 Jun 2023 13:43:32 -0400 Received: from smtp1.mailbox.org (smtp1.mailbox.org [10.196.197.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-103.mailbox.org (Postfix) with ESMTPS id 4QZ3xT1Npkz9sT7 for <63894@debbugs.gnu.org>; Sun, 4 Jun 2023 19:43:25 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailbox.org; s=mail20150812; t=1685900605; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=oZPdc2GvsFCXbNaqrkgqvReGKj5PkpF9mHow8ch4OlQ=; b=RR8oxtcQrakz7cwhQ0ArC7V4AQrKfZxOTRV+DEvijfnS1dZGcv/B/hGNjqiU3FIRS0TxH9 C8LO8+jP3PAeqo+RtTO0rRm5zuKO5TdAC2P7RFm5nRFxEYFSrwJQZaXSoxbPZiGvwVYLHM oiuBRQQUBmRp6O8UwY7xIZq5yvSVePSMZGjCEEDZUM7CKOJyDwPWcvhDxmf5PL8f0F0fk7 9tV1B1i1jT/gcqmYtMMgzf7RRc3dSWEThx8ux/2U087iDPsIBu3uvj837VJ54ZPFolgSEi 1aNW0cnK6brbYu4oyR7cKmav9bNKUgG+NYIX+bpjKxrHAaEMvIat1I219bFB4w== Date: Sun, 4 Jun 2023 17:42:16 +0000 Message-Id: <20230604174249.30044-22-antero@mailbox.org> In-Reply-To: <20230604174249.30044-1-antero@mailbox.org> References: <20230604174249.30044-1-antero@mailbox.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-MBO-RS-ID: 3b49b6e201624dac6ec X-MBO-RS-META: brzkqd9ud43xf4mhhndum641jy1kwh9g 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: , Reply-to: Antero Mejr X-ACL-Warn: , Antero Mejr via Guix-patches From: Antero Mejr via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1685902622; a=rsa-sha256; cv=none; b=mnCLNkLODilxs8TEfkJWXbO3ac/5t0bsYsyXXggTi1dWAPPlwzYWRukp6U7xQxYPpbKBLl qmLPZ7FNEU+x0iHX0IPDd8kpNgLwqYqHCLiPexBveCpEgyjmtYV4+JCiR55tpkVaGtnSZW AUq7NQru0cmWStaerkO6gjNxNw9FtLVq/TIAqd/ENeigEpXdglxSsitdscsR+aicavcxTG UO2wHscrUlDtjtaNCK5ig/i/HZQut0R5XgfNNPMxoN1gEgFrDRdV52vL0wbIuXcwJ4F+mk XCc1LMgp2xighlqUNL/cxrIT0C9euENTwXk5xUUmVwticUre4iF7CkzKOcU6qQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=mailbox.org header.s=mail20150812 header.b=RR8oxtcQ; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1685902622; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: 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=oZPdc2GvsFCXbNaqrkgqvReGKj5PkpF9mHow8ch4OlQ=; b=p4Wldg09I543HC2guK+t9gMzlLYj2TJ0T8joUvk449oZ4xnxw0JAj+QBLmlE7zYp531A8k Pg8BmSWSk+nE0DbAKSTkKmWKUdw9YITVJ98n4CH7LXJ/qHbrcrfwvjyne1g/fiGJpmn25O ycaTPS/OV5keZTOR/RJQY2vrkI9txhm+/Yn1+CE5u4sgDo4wuINcQKNqQpM+gEDOJ0wtru MYlOvjYbA4ZkKUUY+PZT2od48zz8zSbJa+84FwhTyeV4lRSiFZKVlyDPY71NCn06GI5grR 8C3y5DicNBDEix3qaI0ETEP1oqbGqt23LZOZzPWhYdK+DkrtcZMCGfUlvWBE0g== Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=mailbox.org header.s=mail20150812 header.b=RR8oxtcQ; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Scanner: scn0.migadu.com X-Migadu-Spam-Score: -2.28 X-Spam-Score: -2.28 X-Migadu-Queue-Id: 721F4270C8 X-TUID: J+lPnQpyyrCz * gnu/packages/perl.scm (perl-file-libmagic): New variable. --- gnu/packages/perl.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm index e02a42954d..23f0ca4d2d 100644 --- a/gnu/packages/perl.scm +++ b/gnu/packages/perl.scm @@ -70,6 +70,7 @@ (define-module (gnu packages perl) #:use-module (gnu packages bash) #:use-module (gnu packages compression) #:use-module (gnu packages databases) + #:use-module (gnu packages file) #:use-module (gnu packages fontutils) #:use-module (gnu packages freedesktop) #:use-module (gnu packages gcc) @@ -5122,6 +5123,30 @@ (define-public perl-file-homedir platforms.") (license (package-license perl)))) +(define-public perl-file-libmagic + (package + (name "perl-file-libmagic") + (version "1.23") + (source (origin + (method url-fetch) + (uri (string-append + "mirror://cpan/authors/id/D/DR/DROLSKY/File-LibMagic-" + version ".tar.gz")) + (sha256 + (base32 + "1vk775386z4pz4y8m916rhlczs5rw12s36s3vx67mn5jgkfb3rjj")))) + (build-system perl-build-system) + (arguments + (list #:tests? #f)) ;1/33 fails, "gzip file is application/pdf ..." + (native-inputs (list perl-config-autoconf perl-test-fatal)) + (inputs (list file)) + (home-page "https://metacpan.org/release/File-LibMagic") + (synopsis "Determine MIME types of data or files using libmagic") + (description + "The @code{File::LibMagic} module is a simple perl interface to libmagic +from the file package.") + (license (package-license perl)))) + (define-public perl-file-path (package (name "perl-file-path") -- 2.39.2