From unknown Tue Jun 17 01:34:19 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#68617] [PATCH] gnu: Add go-github-com-gabriel-vasile-mimetype. Resent-From: "Artyom V. Poptsov" Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 20 Jan 2024 18:10:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 68617 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 68617@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.1705774171352 (code B ref -1); Sat, 20 Jan 2024 18:10:02 +0000 Received: (at submit) by debbugs.gnu.org; 20 Jan 2024 18:09:31 +0000 Received: from localhost ([127.0.0.1]:35706 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rRFmc-00005c-Fu for submit@debbugs.gnu.org; Sat, 20 Jan 2024 13:09:30 -0500 Received: from lists.gnu.org ([2001:470:142::17]:57848) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rRFmX-00005J-6n for submit@debbugs.gnu.org; Sat, 20 Jan 2024 13:09:29 -0500 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 1rRFmO-00082m-13 for guix-patches@gnu.org; Sat, 20 Jan 2024 13:09:16 -0500 Received: from mail-lj1-x230.google.com ([2a00:1450:4864:20::230]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rRFmL-0000OO-VC for guix-patches@gnu.org; Sat, 20 Jan 2024 13:09:15 -0500 Received: by mail-lj1-x230.google.com with SMTP id 38308e7fff4ca-2cdeb808f28so18267731fa.1 for ; Sat, 20 Jan 2024 10:09:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1705774152; x=1706378952; darn=gnu.org; h=mime-version:user-agent:message-id:date:subject:to:from:from:to:cc :subject:date:message-id:reply-to; bh=vPSivwgeeLOw5VMK5y0/R+JDfvpDGgTs31F68uTDaIo=; b=Slchg9Gn0iUiVPvv5nQeItQBv5Eyzr0lW8+etDJ2EnomWC9233s6JYe7BlDnQfLHdt LmoULPSMC3Zbo1Z0PAlSchL/Y/sUPwCfxGTQuk2Hgtrzf/qnKeoejQBnAy1iN4GoW42B YfquorUPLW3dX3PXRhroY7gf1ClpOcJCxfuUFdxLXRP2OVXFiJWQNQ8cEgZgehJvn1s7 kfDJkn7gyA6TPyeurC1VDmj6thSg5Bn+k+FrKUf0A+wsPN56RXzKrfjpUaZ3s8WAV8ku j+H6aThk3OOgiM/nd5q7A8yFh3hOC2yze5p/muS20RRGuRNl6XF2/N1ekX4aXJH/+kYJ teeA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705774152; x=1706378952; h=mime-version:user-agent:message-id:date:subject:to:from :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=vPSivwgeeLOw5VMK5y0/R+JDfvpDGgTs31F68uTDaIo=; b=i+JrCjV01hB7PYib/TqSvAvmjhHEY5qcjE/YrEVKj+6tdTTrMmnFrenmKD/ta2f8UG 8/J4oYkCN9b7QY6VxzbLLRdzJzUV74wsBQvnNIaOqOCbmJZ7mrA0qvt+I9kJWG7V+nsF j2HGRDD4CRlSnQGrtcIbd4JJ43XAwKWq59cslovFY933mDsfZdb5WpF9FtOfaTBOAYMY kS40plnQ2voPAJEaEEzRAZSpYJL9bNs+CsR+cVC+2U3OTMUAFj/Gj2mAst4NiCs3OUfX xLJb+gSxYgc0h1aqvKNemyiB8LVYr9y0AYobOsCH5pqP3KEm+ZGb0qPMhRPnu8NpwlYa W6Vw== X-Gm-Message-State: AOJu0YwoeEtBFVXiUwIuDYGsjwTb8paFj7kSXdopJWforVWqJkSR2cvX d0ubFTj2SVxn7c2ifbO8r4KCUP2OyKbXxJGBL1/tN9SvkVN4t9QGH4SWBKys X-Google-Smtp-Source: AGHT+IFk+Z5s4QkEW6+8Z3jqzlaHIXCJr+QVic0vypYyUKxWs2t7M0LNKvMPAPJkZqRSMTndawKpgg== X-Received: by 2002:a2e:8611:0:b0:2cd:5686:e1df with SMTP id a17-20020a2e8611000000b002cd5686e1dfmr857610lji.19.1705774151666; Sat, 20 Jan 2024 10:09:11 -0800 (PST) Received: from elephant ([95.79.79.224]) by smtp.gmail.com with ESMTPSA id z10-20020a2e840a000000b002cdfa7d2e43sm714642ljg.93.2024.01.20.10.09.09 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 20 Jan 2024 10:09:10 -0800 (PST) From: "Artyom V. Poptsov" Date: Sat, 20 Jan 2024 21:09:08 +0300 Message-ID: <87msszev23.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Received-SPF: pass client-ip=2a00:1450:4864:20::230; envelope-from=poptsov.artyom@gmail.com; helo=mail-lj1-x230.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 1.0 (+) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) --==-=-= Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= Content-Type: text/plain Hello, this patch adds "go-github-com-gabriel-vasile-mimetype"[1] --=-=-= Content-Type: text/x-diff Content-Disposition: attachment; filename=0001-gnu-Add-go-github-com-gabriel-vasile-mimetype.patch Content-Transfer-Encoding: quoted-printable From=20140d517610c3e9be4c5fb74e354f411c51d25cdc Mon Sep 17 00:00:00 2001 Message-ID: <140d517610c3e9be4c5fb74e354f411c51d25cdc.1705774054.git.poptso= v.artyom@gmail.com> From: "Artyom V. Poptsov" Date: Sat, 20 Jan 2024 21:07:27 +0300 Subject: [PATCH] gnu: Add go-github-com-gabriel-vasile-mimetype. * gnu/packages/golang.scm (go-github-com-gabriel-vasile-mimetype): New variable. Change-Id: Icb1624eb9a890b6f711dacf5ff80f15b041f3b7d =2D-- gnu/packages/golang.scm | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index 8fea581248..c2154ca675 100644 =2D-- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -4410,6 +4410,42 @@ (define-public go-github-com-technoweenie-multiparts= treamer without reading the entire content into memory.") (license license:expat))) =20 +(define-public go-github-com-gabriel-vasile-mimetype + (package + (name "go-github-com-gabriel-vasile-mimetype") + (version "1.4.3") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/gabriel-vasile/mimetype") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "11swnjczhrza0xi8q2wlk056nnbcghm44vqs52zfv6rwqvy6imhj")))) + (build-system go-build-system) + (arguments + (list + #:go go-1.20 + #:import-path "github.com/gabriel-vasile/mimetype" + #:phases + #~(modify-phases %standard-phases + (add-before 'check 'add-supported-mimes-md + (lambda* (#:key inputs #:allow-other-keys #:rest args) + ;; This file needs to be available for writing during the + ;; tests otherwise they will fail. + (let ((file + "src/github.com/gabriel-vasile/mimetype/supported_mim= es.md")) + (invoke "touch" file) + (chmod file #o644))))))) + (propagated-inputs (list go-golang-org-x-net)) + (home-page "https://github.com/gabriel-vasile/mimetype") + (synopsis "Golang library for media type and file extension detection") + (description + "A fast Golang library for media type and file extension detection, b= ased on +magic numbers .") + (license license:expat))) + (define-public go-github-com-tevino-abool (let ((commit "3c25f2fe7cd0ef3eabefce1d90efd69a65d35b12") base-commit: 9c367ee1967b213b507a8bf041ea6c2623ceea96 =2D-=20 2.41.0 --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Thanks, =2D avp References: 1. https://github.com/gabriel-vasile/mimetype/ =2D-=20 Artyom "avp" Poptsov Home page: https://memory-heap.org/~avp/ CADR Hackerspace co-founder: https://cadrspace.ru/ GPG: D0C2 EAC1 3310 822D 98DE B57C E9C5 A2D9 0898 A02F --=-=-=-- --==-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJNBAEBCgA3FiEEAf2F9Bp7f4IFgwalk16+BzbchX4FAmWsDEQZHHBvcHRzb3Yu YXJ0eW9tQGdtYWlsLmNvbQAKCRCTXr4HNtyFflQSD/9jZfIuwwmQOYuhj4F1N6oh n82BywyLHImlY2AqklAKCcj6NCuhiKUK9Vs/l5N3HeyUNfYFHOHi21HuwQTRi6Uh Ct/yZUEr1jaghDc05SWyRtkttSXmRnOBUZOm6r71jycRqIFs+ok4tbtZRD6hoaem 3gpvlQf9CCZBYCQVJ/YCwlQYfJq+1tiAZB8prJgCGuHllU+VyQ8vh2Ys8CbiuoUo rxujDpCuhj0jIPj0SAgBveWRnF6gR9HDOdunu+983+R40MpzMDJCLIwuiyP41Bku KJfuwmYzcgafX1i2AvNFbUvlBU+irfbIi/V0rMLz7FrAnJ/cBKHbCsR008DnVMDj Iz0+M5jP1iPjm5oTfly6bsPbafmBUIRgPVnDiNoB/Kbw9l8zBbN1iaXIPJRPZ66N XQnbnSuDtTbeUxYbdWtLHZ7KNM11+BNYOI5/qi6/MYd7lPUtrb3jXmYE+mLXVh/C /Wlh5cvhxQsmeMp7jhkeJJQRNTdTYQOWbxQn34nh4b3DuuXxlxdFDfpfOsDVlBok fJ93Zmxr05VSyjWJqQr8d1qo+a71Lm6xda0VrZAdoavEvwIO+VeiNpHc6pJ6zrBH ZiLMgIukJUMFxNVm4Tq4u1pkCnm3aaYrN6N3pNa6L1LPgxUlXBFFIRvo86oWRlhF D2sK+zZbRKuQXI60oO68hQ== =zwRq -----END PGP SIGNATURE----- --==-=-=-- From unknown Tue Jun 17 01:34:19 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#68617] [PATCH] gnu: Add go-github-com-gabriel-vasile-mimetype. References: <87msszev23.fsf@gmail.com> In-Reply-To: <87msszev23.fsf@gmail.com> Resent-From: Sharlatan Hellseher Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 03 Feb 2024 05:44:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 68617 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 68617@debbugs.gnu.org Cc: poptsov.artyom@gmail.com Received: via spool by 68617-submit@debbugs.gnu.org id=B68617.17069390105912 (code B ref 68617); Sat, 03 Feb 2024 05:44:02 +0000 Received: (at 68617) by debbugs.gnu.org; 3 Feb 2024 05:43:30 +0000 Received: from localhost ([127.0.0.1]:45780 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rW8oM-0001XI-CS for submit@debbugs.gnu.org; Sat, 03 Feb 2024 00:43:30 -0500 Received: from mail-lf1-x133.google.com ([2a00:1450:4864:20::133]:44087) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rW8oJ-0001X3-Kw for 68617@debbugs.gnu.org; Sat, 03 Feb 2024 00:43:28 -0500 Received: by mail-lf1-x133.google.com with SMTP id 2adb3069b0e04-511396ec8c7so1969105e87.0 for <68617@debbugs.gnu.org>; Fri, 02 Feb 2024 21:43:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1706938990; x=1707543790; darn=debbugs.gnu.org; h=cc:to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=qtEPh2Adf38r291rN7sinK3p1gAGcEOFdTQi1zhGHlY=; b=hCS5rb3vS37L6BimDOlBV+eELfCjiQlWDyFaIz+u/0hDodiaH5LTal6pKe7PuFOggK hx/OTGjsZrjLIL68wB8aqr/CBEtWGIA0n7QBpLPeNUmxebHoj8ZFcAv3KTKzXtwYGc0k vIYZ7LYRrh5rDG22uiYIrnwEI2r9hdJLbOUVKKFa2YS94F22KRDrN1egTpIZWv41MLXp aYjI9HAe29FfjJQH0E47YC4smEYsvA2acot0SrDftMBfPXYlngX3RszelG43U3M1HncA v7ElGdHJOmgnEm++Djjo7I8IkTyYk0JpHWvzaUspmbuA8RCW00/6Kahup6AILzT+Ffaf y9UA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706938990; x=1707543790; h=cc:to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=qtEPh2Adf38r291rN7sinK3p1gAGcEOFdTQi1zhGHlY=; b=O0KGQtqJWI51wT0bYU8nR4FLMksxNkJ4kM1Hu2nRNVO3HyXMf19oN0IVxXD4Av+xUj 3shMhRSV1jOIZ5oLBSKt5HypQZU22FHFMaMy/bfEbOvcRsAqelCTLL0DQ2Vv9d1yN6c7 iQPhpCcKXQeluml7KQkm+00rfxsqGwAhtuC99bIKZtl44/0DMQ0vhMkblEQYlzstu0zH oxphOXln8yQ5XUvBV0k1nQ34z2dbYdT4EM3WfnVY0QC8okRFAC3LV1cohx2I1MntXmZq OMIJ12kGVlTpYHaHN6/mwsiVfcgvj0UbbEXWiaR5FZFwFqhhjCDBouSwRtDBn7Vsv+hg QAuQ== X-Gm-Message-State: AOJu0Yx1J6kF/FBf7gYmUZz8xo//nq5WS+pSsDKzTonl+ZsyDCbb5TNH NK1KaQ+qcO/6xNhETgWOVSYYgM2rYjT2Yqfyy6lxTUcJ9Nt/nEGULP0cMs2Rl0Djdu3qbi7bPJY 0zENMQtgIaz6PUKN2lLd2ur/+JBMxm2tu X-Google-Smtp-Source: AGHT+IG47CqLTRcwrrrtEZlxhS3ROMyfQ0o1bUTTC+BUpXEHzYFVqyt9qmljn6Yx4RulweMnUF83PD/cP33LJ2Z5JAQ= X-Received: by 2002:a19:8c4a:0:b0:511:382e:361c with SMTP id i10-20020a198c4a000000b00511382e361cmr2064778lfj.37.1706938989633; Fri, 02 Feb 2024 21:43:09 -0800 (PST) MIME-Version: 1.0 From: Sharlatan Hellseher Date: Sat, 3 Feb 2024 05:42:58 +0000 Message-ID: Content-Type: multipart/alternative; boundary="000000000000216432061073b459" X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --000000000000216432061073b459 Content-Type: text/plain; charset="UTF-8" Hi, Thank you for the patch! > + (add-before 'check 'add-supported-mimes-md > + (lambda* (#:key inputs #:allow-other-keys #:rest args) > + ;; This file needs to be available for writing during the Instead of path string you may use import-path (change inputs in lambda to use it. Check for examples in golang.scm. > + ;; tests otherwise they will fail. > + (let ((file > + "src/ github.com/gabriel-vasile/mimetype/supported_mimes.md")) It would be something like this (invoke "touch" (string-append import-path "supported_mimes.md"). Or check if the code depends on HOME envar. >+ (description > + "A fast Golang library for media type and file extension detection, based on > +magic numbers .") Trailing space in the end of the sentence. Try to add more detail, I've checked github page there is a link to a little bit detailed doc. Apply common steps: guix lint, guix style. Looking forward for v2. Thanks, Oleg --000000000000216432061073b459 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi,

Thank you for the patch!

<= div dir=3D"auto">> +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 (add-before '= check 'add-supported-mimes-md
> +=C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 (lambda* (#:key inputs #:allow-other-keys #= :rest args)
> +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 ;; This file needs to be available for writing during the
Instead of path string you may use import-path (change= inputs in
lambda to use it. Check for examples in g= olang.scm.

> +=C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ;; tests otherwise they will fail= .
> +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 (let ((file
> +=C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0"src/github.com/gabriel= -vasile/mimetype/supported_mimes.md"))
It w= ould be something like this (invoke "touch" (string-append import= -path "supported_mimes.md"). Or check if the code
=C2=A0depends on HOME envar.=C2=A0

>+=C2=A0 =C2=A0 (description
> +=C2=A0 =C2=A0 =C2=A0"A fast Golang library for media type and f= ile extension detection, based on
> +magic number= s .")
Trailing space in the end of the sentence= . Try to add more detail,
I've checked github pa= ge there is a link to a little bit detailed doc.
Apply common steps: guix lint, guix style.

Looking forward for v2.

Thanks,
= Oleg
--000000000000216432061073b459-- From unknown Tue Jun 17 01:34:19 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#68617] [PATCH] gnu: Add go-github-com-gabriel-vasile-mimetype. Resent-From: "Artyom V. Poptsov" Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 04 Feb 2024 06:59:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 68617 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 68617@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.170702991523789 (code B ref -1); Sun, 04 Feb 2024 06:59:02 +0000 Received: (at submit) by debbugs.gnu.org; 4 Feb 2024 06:58:35 +0000 Received: from localhost ([127.0.0.1]:48092 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rWWSY-0006Bd-Q5 for submit@debbugs.gnu.org; Sun, 04 Feb 2024 01:58:35 -0500 Received: from lists.gnu.org ([2001:470:142::17]:33884) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rWWSV-0006BP-GX for submit@debbugs.gnu.org; Sun, 04 Feb 2024 01:58:32 -0500 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 1rWWSD-0008D2-Vz for guix-patches@gnu.org; Sun, 04 Feb 2024 01:58:14 -0500 Received: from mail-lf1-x12b.google.com ([2a00:1450:4864:20::12b]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rWWSB-0004Pw-Sl for guix-patches@gnu.org; Sun, 04 Feb 2024 01:58:13 -0500 Received: by mail-lf1-x12b.google.com with SMTP id 2adb3069b0e04-5101cd91017so4389496e87.2 for ; Sat, 03 Feb 2024 22:58:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1707029888; x=1707634688; darn=gnu.org; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:to:from:from:to:cc:subject:date:message-id:reply-to; bh=7BNNDFb6a1HMS3bfFgWwtbPu3fDT7iy+EExtYR3IFsw=; b=dnwwQK9D91MpSpMANi5MS876EQT3HZobghE2COTvWN17o4U7CRAfzKAOaLr8/Y11jv wjQy6WxwTjhJxn0x1a7dEaP+Ldidpc7HGzZms5i++i5zPqm28r+4vOV9UUvw9bM3bub3 i7C1NePrmG0XSrULLhgews1pLM4xAzqP/nVhTtxP4lEFRC6j0jb65aO2HJ6Yq1FqvNL+ xxsB1/0GWqcqpHLhFF11v25DlIlHkLP1BYelfMswUwGY7uOxpUnTo5ZP1KgtfvJxk0WG 6DzGeOKbwM8HsC6M9MucSREBimE7XNd5WJXTPZFVPJ8dnd/X3MNP7qZ7dDHiZMhz8ZBH ISXA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707029888; x=1707634688; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=7BNNDFb6a1HMS3bfFgWwtbPu3fDT7iy+EExtYR3IFsw=; b=i0GFmjzK4tXaTsVc2auh3AHXKgtfjzyrV/jrOIDmEs131BP3YekCTBGoPIEeC9fml/ fom2M0ywzqx1S57YvoTeS06d0BMheipbf3MAZUaPg+0YrgwWnxA1ff9Ai8618Zz9YEfK +4z2gBJ7hkHG1LueJ3CfvPenaHxPrcS0pFP/x6aWp2yEkxYMyTWKIhO5aTgmof3ydtJC oWF6JogEKxdzRKX90gEvORpBnzobuaeh219uOSvwjL8FdCxIK0asYS+XiVD/bRcVHvNe s3CC7zk6F6FLbUbUlsF56V7rS3+BWITp5HlfB3ankXDVo/A2n/QRnPaYAyzcIduLHfmD a0DA== X-Gm-Message-State: AOJu0Yx8wYMvBm0Y28LfIs0H56WHEexM9GF/Jc/ijEnvLJCJV6yX9WQr deULuZBs/qhh+Gx1LORddQRy7olcmB50Y0OVx7VyHyLx2OvdQghx4UXiDFbD89g= X-Google-Smtp-Source: AGHT+IFFwM2B/rVWaTBRhKHF7us9BvCXF87QnjDyf6IllzMeg/YiwS8oy1+KQBfnvhTafsvbOdda7w== X-Received: by 2002:a05:6512:2388:b0:511:4253:3a8b with SMTP id c8-20020a056512238800b0051142533a8bmr2627304lfv.42.1707029887887; Sat, 03 Feb 2024 22:58:07 -0800 (PST) Received: from elephant ([5.164.220.172]) by smtp.gmail.com with ESMTPSA id i26-20020a056512007a00b005100d4e7d02sm840775lfo.27.2024.02.03.22.58.06 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 03 Feb 2024 22:58:07 -0800 (PST) From: "Artyom V. Poptsov" In-Reply-To: <87msszev23.fsf@gmail.com> (Artyom V. Poptsov's message of "Sat, 20 Jan 2024 21:09:08 +0300") References: <87msszev23.fsf@gmail.com> Date: Sun, 04 Feb 2024 09:58:05 +0300 Message-ID: <878r404sxu.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Received-SPF: pass client-ip=2a00:1450:4864:20::12b; envelope-from=poptsov.artyom@gmail.com; helo=mail-lf1-x12b.google.com X-Spam_score_int: 5 X-Spam_score: 0.5 X-Spam_bar: / X-Spam_report: (0.5 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, TVD_PH_BODY_ACCOUNTS_PRE=0.001, TVD_PH_BODY_META_ALL=2.573, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: 1.0 (+) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) --==-=-= Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= Content-Type: text/plain Hello, I took into account the comments from Sharlatan Hellseher and updated the patch. --=-=-= Content-Type: text/x-diff Content-Disposition: attachment; filename=0001-gnu-Add-go-github-com-gabriel-vasile-mimetype.patch Content-Transfer-Encoding: quoted-printable From=20c090118a564bd6c3b2672f5422490b765efcc56e Mon Sep 17 00:00:00 2001 Message-ID: From: "Artyom V. Poptsov" Date: Sat, 20 Jan 2024 21:07:27 +0300 Subject: [PATCH] gnu: Add go-github-com-gabriel-vasile-mimetype. * gnu/packages/golang.scm (go-github-com-gabriel-vasile-mimetype): New variable. Change-Id: Icb1624eb9a890b6f711dacf5ff80f15b041f3b7d =2D-- gnu/packages/golang.scm | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index 014ca01602..966a8b0eaa 100644 =2D-- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -4112,6 +4112,42 @@ (define-public go-github-com-technoweenie-multiparts= treamer without reading the entire content into memory.") (license license:expat))) =20 +(define-public go-github-com-gabriel-vasile-mimetype + (package + (name "go-github-com-gabriel-vasile-mimetype") + (version "1.4.3") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/gabriel-vasile/mimetype") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "11swnjczhrza0xi8q2wlk056nnbcghm44vqs52zfv6rwqvy6imhj")))) + (build-system go-build-system) + (arguments + (list + #:go go-1.20 + #:import-path "github.com/gabriel-vasile/mimetype" + #:phases + #~(modify-phases %standard-phases + (add-before 'check 'add-supported-mimes-md + (lambda* (#:key inputs #:allow-other-keys #:rest args) + ;; This file needs to be available for writing during the + ;; tests otherwise they will fail. + (let ((file + "src/github.com/gabriel-vasile/mimetype/supported_mim= es.md")) + (invoke "touch" file) + (chmod file #o644))))))) + (propagated-inputs (list go-golang-org-x-net)) + (home-page "https://github.com/gabriel-vasile/mimetype") + (synopsis "Golang library for media type and file extension detection") + (description + "A fast Golang library for media type and file extension detection, b= ased on +magic numbers .") + (license license:expat))) + (define-public go-github-com-tevino-abool (let ((commit "3c25f2fe7cd0ef3eabefce1d90efd69a65d35b12") base-commit: abeffc82379c4f9bd2e6226ea27453b22cb4e0c8 =2D-=20 2.41.0 --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Thanks, =2D avp =2D-=20 Artyom "avp" Poptsov Home page: https://memory-heap.org/~avp/ CADR Hackerspace co-founder: https://cadrspace.ru/ GPG: D0C2 EAC1 3310 822D 98DE B57C E9C5 A2D9 0898 A02F --=-=-=-- --==-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJNBAEBCgA3FiEEAf2F9Bp7f4IFgwalk16+BzbchX4FAmW/NX0ZHHBvcHRzb3Yu YXJ0eW9tQGdtYWlsLmNvbQAKCRCTXr4HNtyFfmNFD/93Fgj80HRItPpfGQ5fhEML doVopG4lLE7aCAFpdEEDtqaH/1fazc1AX5bIUDuJWnfACc0qcGAvv2fFd/KOlU2R KF+NeU31uSysWQtXUvKYsEc1sR8bj6XZTvWUi8B80hdLJzNs3seHJYzHodxQxhth Gm5XjznhJCfnxUQDzAu3EkEzQ9o+sIN5Kvo+JdNV2mNUo7Ir0VTw+vl3yVCkbxtq 1OsdjHSlUFo2Bba7kFIIBt2yC9GZ3uNp3Ye6zt3Z+59CeHQbjamXrYXHGblaZKKl Cf6oJNRCFnV4CfmX76gyS7dPjrw9w7kyw1DPz3jj7uV9T64X8MHIejJO5t8s0BUu Pzx6s1ZuYJchx4Yi58kE5RB7neVgW4kuyEoifrDMXxtAesXOSmP1G0DNKAFEIwA5 EOLOjEalQn8Tm0Vk4nK2SjNUN8lSaYNuugOjhNXM/bZOSix97/24ahK7lpPWjsnF r1A/vgSBvbneow0NfteUUoTmIBIG+mxsU+iEuTsUaVQTr9rrsIsOhWHe2QR1kKNA oBQsv2xnpwoaJYHPdte5jJQbWvAR4btiWrX67P4jXn9yR/MRZwnJkjsqDQCU/fto g0Mq3+dNpNFPyXdkgXn5GhmdKak0TcEYxi3f+e7Vt78GX5FFLDm5v2zIH4x74Wqc 3dym9UDZD9bQdzC9vy5C9Q== =h+sA -----END PGP SIGNATURE----- --==-=-=-- From unknown Tue Jun 17 01:34:19 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#68617] [PATCH] gnu: Add go-github-com-gabriel-vasile-mimetype. Resent-From: "Artyom V. Poptsov" Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 04 Feb 2024 17:16:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 68617 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 68617@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.17070669152178 (code B ref -1); Sun, 04 Feb 2024 17:16:02 +0000 Received: (at submit) by debbugs.gnu.org; 4 Feb 2024 17:15:15 +0000 Received: from localhost ([127.0.0.1]:49975 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rWg5K-0000Z1-71 for submit@debbugs.gnu.org; Sun, 04 Feb 2024 12:15:14 -0500 Received: from lists.gnu.org ([2001:470:142::17]:51246) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rWg5F-0000YZ-Gs for submit@debbugs.gnu.org; Sun, 04 Feb 2024 12:15:13 -0500 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 1rWg4x-00082p-FP for guix-patches@gnu.org; Sun, 04 Feb 2024 12:14:51 -0500 Received: from mail-lj1-x22f.google.com ([2a00:1450:4864:20::22f]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rWg4u-000365-20 for guix-patches@gnu.org; Sun, 04 Feb 2024 12:14:51 -0500 Received: by mail-lj1-x22f.google.com with SMTP id 38308e7fff4ca-2d07ffa0a9cso27645331fa.2 for ; Sun, 04 Feb 2024 09:14:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1707066886; x=1707671686; darn=gnu.org; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:to:from:from:to:cc:subject:date:message-id:reply-to; bh=ePQxzG0uzefbONpkKmihgAxXqoNDtOS4a2Pwq/ksaDo=; b=OdXMSnWQisNDgtoaXfIo4qJNBwbI4xTal6JFAnIDp8bwbaYXL8FIXEoW8ZBQ/2YIch b2oSYo0wbw/51U+FH+Hw4avqJvmBS3zbB7aPEFMYxslLSR5mJSRv6klKOSZCs5tF3r1z o8/bGqtiytQYEF3b6P0M6Lwx9vDWm/Lhr++xn6OwFDid8ri6ti47feDzgXevFYoihZi5 VRVaWAKSXS3pXerjJyHDsvVGeUW+dcH3aiwWPWvoj3xsOsrGT5jzYsKLU00Ny3YUR9TY WzLrqTX/m4XRRQTDbzzFSOilEoZFvV9ZPJQBseFCbflRzFaVoPLn6R6NjTKMgnto4Viv Eh0A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707066886; x=1707671686; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=ePQxzG0uzefbONpkKmihgAxXqoNDtOS4a2Pwq/ksaDo=; b=oOozuzVZNgG0zQtpXMMegNTW/dtlRgug38frucThI6+Lwil2NgB21KaHZBds3UQCa5 GegM6dXAJBwZrVZeRU/yQU6yGxc/P/WQzEgRfQhFsjgbUM4lCNEAEj0ELoOf8Sj9hP8p s98lneXWhR3oZpT8xIg4GnhcroSfEbLf9k0lNLUyvaPOaN+ShJQmu9fUwMUkYc75+kDc Jvl/sTSrl9svbWDC/lRDAZoWZSQi3fkikBtl6kpKKNDUQYHhxr3GyXXr2jgXsZblz9os yZsQnXZEbMxTGUswF8qa4k9qFIs1vb/SG/vNK9wZvYCAZbAXmnAvlKMg7xkYQs/CbzwV Y6Ig== X-Gm-Message-State: AOJu0Yyhk8JMJb4TMSG3GTKxSMyfsRpE9E1rPneUpsTwSK3qxtX82hjo YvF4hpj5FGNrE8LSPwjsRWnWiAv6g0ehG0ezWYtHAEtmPm+YLrUpM5BtnmT3X4U= X-Google-Smtp-Source: AGHT+IEzlcjeFQ0xfo9ae9o2IFJf+5gXUtRBb4y5X2RLRXvcakmD3rpMCaC/xd99qls2Kb4NxvBPkg== X-Received: by 2002:a2e:8085:0:b0:2d0:9a6e:106 with SMTP id i5-20020a2e8085000000b002d09a6e0106mr2801333ljg.43.1707066885546; Sun, 04 Feb 2024 09:14:45 -0800 (PST) Received: from elephant ([5.164.220.172]) by smtp.gmail.com with ESMTPSA id z9-20020a2e3509000000b002d07289b191sm872557ljz.22.2024.02.04.09.14.44 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 04 Feb 2024 09:14:44 -0800 (PST) From: "Artyom V. Poptsov" In-Reply-To: <878r404sxu.fsf@gmail.com> (Artyom V. Poptsov's message of "Sun, 04 Feb 2024 09:58:05 +0300") References: <87msszev23.fsf@gmail.com> <878r404sxu.fsf@gmail.com> Date: Sun, 04 Feb 2024 20:14:43 +0300 Message-ID: <874jeo40e4.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Received-SPF: pass client-ip=2a00:1450:4864:20::22f; envelope-from=poptsov.artyom@gmail.com; helo=mail-lj1-x22f.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 1.0 (+) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) --==-=-= Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= Content-Type: text/plain Hello, I attached the old version of the patch by mistake to the previous email. Here's the right version. --=-=-= Content-Type: text/x-diff Content-Disposition: attachment; filename=0001-gnu-Add-go-github-com-gabriel-vasile-mimetype.patch Content-Transfer-Encoding: quoted-printable From=20c6cc2c6c04019a10717bc19c80a4d4f18013e793 Mon Sep 17 00:00:00 2001 Message-ID: From: "Artyom V. Poptsov" Date: Sat, 20 Jan 2024 21:07:27 +0300 Subject: [PATCH] gnu: Add go-github-com-gabriel-vasile-mimetype. * gnu/packages/golang.scm (go-github-com-gabriel-vasile-mimetype): New variable. Change-Id: Icb1624eb9a890b6f711dacf5ff80f15b041f3b7d =2D-- gnu/packages/golang.scm | 51 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index 014ca01602..ab92cec4e4 100644 =2D-- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -4112,6 +4112,57 @@ (define-public go-github-com-technoweenie-multiparts= treamer without reading the entire content into memory.") (license license:expat))) =20 +(define-public go-github-com-gabriel-vasile-mimetype + (package + (name "go-github-com-gabriel-vasile-mimetype") + (version "1.4.3") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/gabriel-vasile/mimetype") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "11swnjczhrza0xi8q2wlk056nnbcghm44vqs52zfv6rwqvy6imhj")))) + (build-system go-build-system) + (arguments + (list + #:go go-1.20 + #:import-path "github.com/gabriel-vasile/mimetype" + #:phases #~(modify-phases %standard-phases + (add-before 'check 'add-supported-mimes-md + (lambda* (#:key import-path #:allow-other-keys) + ;; This file needs to be available for writing duri= ng the + ;; tests otherwise they will fail. + (let ((file (format #f "src/~a/supported_mimes.md" + import-path))) + (invoke "touch" file) + (chmod file #o644))))))) + (propagated-inputs (list go-golang-org-x-net)) + (home-page "https://github.com/gabriel-vasile/mimetype") + (synopsis "Golang library for media type and file extension detection") + (description + "A Golang package that uses magic number signatures to detect the MIM= E type of a +file. + +Main features: +@itemize +@item Fast and precise MIME type and file extension detection. +@item Supports +@url{https://github.com/gabriel-vasile/mimetype/blob/master/supported_mime= s.md, +many MIME types}. +@item Allows to +@url{https://pkg.go.dev/github.com/gabriel-vasile/mimetype#example-package= -Extend, +extend} with other file formats. +@item Common file formats are prioritized. +@item +@url{https://pkg.go.dev/github.com/gabriel-vasile/mimetype#example-package= -TextVsBinary, +Differentiation between text and binary files}. +@item Safe for concurrent usage. +@end itemize") + (license license:expat))) + (define-public go-github-com-tevino-abool (let ((commit "3c25f2fe7cd0ef3eabefce1d90efd69a65d35b12") base-commit: abeffc82379c4f9bd2e6226ea27453b22cb4e0c8 =2D-=20 2.41.0 --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Thanks, =2D avp =2D-=20 Artyom "avp" Poptsov Home page: https://memory-heap.org/~avp/ CADR Hackerspace co-founder: https://cadrspace.ru/ GPG: D0C2 EAC1 3310 822D 98DE B57C E9C5 A2D9 0898 A02F --=-=-=-- --==-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJNBAEBCgA3FiEEAf2F9Bp7f4IFgwalk16+BzbchX4FAmW/xgMZHHBvcHRzb3Yu YXJ0eW9tQGdtYWlsLmNvbQAKCRCTXr4HNtyFfgmEEACUlS1vmQoszSkGyFTy59mM jN8HTQy2R6hjD58ERrLUBTeObAJXVDs2FhUd8RpRsAj6mxRHTXTZxZtRiRAJnd7x A10XPtJeB9y0qFPxhepLVt69AzqAqSzTGNmOqKAjgcSwtf4B3flBDjxM9RRZsuQz GrydumwcWXdv2JMVj8naLLoAwKd9GKuOI7hvGQFs9z82ThhFpD+dkp2/tN/uIf+x B190LU7RGyKcFZEGhcvqcF2RWA6o/Y8l6kQEpU1/le/QU4KjXIfgCEa3P/pjg3pN BlqnYn1sOkobgBx6rgkXsEF+quoH1QjCdzlzUW0LVQTCMVCj7bt4d+C6HB7Y3GiP DknIQ25T4dreqsoRTOQaldl7njZAYk5yJQQsZ+AnAbF2OKMOCgDMHpbnoawFt2Nq ha3aIOQO3RAhjYKCqkj70uYjcRCCPs22lEherskasLFMMOq7YpDvZhflnIGzaQLx Sku2UhYiPjr0NCgDj/jEByqvXTrTvvJhKWDc1e32g7E1OAdYRN76smAJdlXoAMD7 pY/73FFMQVrdvQQIp6Zg9r943fmbGtiyeeLDtaZWjwgtpJIci8zUCVK6amLBj0Ix CfWCNoWJrsvMoD3ccl3xWJtqNo4YaRoxJHsoX3qhQmCSXPbuBfxDcM0dCkJW8c/G HSzGp/BcRI+VS+z+eoWXCQ== =r+9l -----END PGP SIGNATURE----- --==-=-=-- From unknown Tue Jun 17 01:34:19 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: "Artyom V. Poptsov" Subject: bug#68617: closed ([PATCH] gnu: Add go-github-com-gabriel-vasile-mimetype.) Message-ID: References: <87a5oex630.fsf@gmail.com> <87msszev23.fsf@gmail.com> X-Gnu-PR-Message: they-closed 68617 X-Gnu-PR-Package: guix-patches X-Gnu-PR-Keywords: patch Reply-To: 68617@debbugs.gnu.org Date: Mon, 05 Feb 2024 15:53:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1707148382-23244-1" This is a multi-part message in MIME format... ------------=_1707148382-23244-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #68617: [PATCH] gnu: Add go-github-com-gabriel-vasile-mimetype. which was filed against the guix-patches package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 68617@debbugs.gnu.org. --=20 68617: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D68617 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1707148382-23244-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 68617-done) by debbugs.gnu.org; 5 Feb 2024 15:52:04 +0000 Received: from localhost ([127.0.0.1]:52141 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rX1GN-00061O-S3 for submit@debbugs.gnu.org; Mon, 05 Feb 2024 10:52:04 -0500 Received: from mail-wm1-x331.google.com ([2a00:1450:4864:20::331]:57528) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rX1GI-00060l-0e for 68617-done@debbugs.gnu.org; Mon, 05 Feb 2024 10:52:02 -0500 Received: by mail-wm1-x331.google.com with SMTP id 5b1f17b1804b1-40fdf5e7039so1283575e9.2 for <68617-done@debbugs.gnu.org>; Mon, 05 Feb 2024 07:51:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1707148299; x=1707753099; darn=debbugs.gnu.org; h=mime-version:message-id:date:subject:to:from:from:to:cc:subject :date:message-id:reply-to; bh=g7VaR7MfCxcLZOqsWF7+ofDzQwI2RN7dyzAkCN+kFOk=; b=bN+pcqTZRArmJkDimrkuIkI3pt8PmY2MdsfSYsjUehlZzpMbl8jVFNVz6/rg6TN9xC LF8aRNWzrBdKumYe92/1HZCqj5DLeo2A+ob9h0IQA238sBrfBjVCwNBeybbYLJ0M230V iK3Ibe1yjQtStfFoEBAObmbBMQQQ4GIeBYaRrpKdkv1ZIfmXjn/NwxK9DWntP2tuR94u KEhFtIr10huRtlGQzOP8r/xZVuMSnnEqsdSkw4L/ROQMQIdeoKE9tAdbAKRVCwOV+zpm pj4Q96EFqCsf2EYy945KGYMmtZJy/BA9RHSe31xyDeemcInGpb+GxoN4S+9KrlvmGYwU baEw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707148299; x=1707753099; h=mime-version:message-id:date:subject:to:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=g7VaR7MfCxcLZOqsWF7+ofDzQwI2RN7dyzAkCN+kFOk=; b=FRCVMQ8Q+dHaFH8Y1TVMqyhJQFN99W4lFOQ65VDsf4vuuNdMexWSJW/mJUagBY4EKm 0TFlJ56YgDC9qBq+yDJ1uHO2W25BIVi2z+PV+pV0fR031Y4crXQroF1HhCgaPKCFwHrz LitdBfoxKtNOdbn/lXpTEvqAD0BmJCgKmfjfTXY5sTCz/+iDZPYDjobGieS2HcijgszH wNC47utjIwlgog3jGTUTZgh5DivwJOObTWbhwqjykxeJoRl4/H1HtqZIYddZyQS8AQUN E3wBYPSstBSH0NQS6b1ADko5/hDw13G9urFEu6k2lN8k/IYao1gayS7TPQ8Kxu2PP3r3 Cg1A== X-Gm-Message-State: AOJu0Yy5k84zqyIvEZedSgQ6nw+C2pBlBePS+QBIQos/yHZRnUWiWO3l Gj72MzKZI7HoLSOOVvWlxY+J9UD2VK9Q7ZJq5kW32xWFDnvhjg6R5MLupZz96OYexw== X-Google-Smtp-Source: AGHT+IFXxJZY6/S65cqA3eJ8eGK/29xE1pZ4OeUaw3DHfhCWf7HXmG2FevweprYWhS7AxggFHu4BBQ== X-Received: by 2002:a05:600c:19c6:b0:40f:db0a:2899 with SMTP id u6-20020a05600c19c600b0040fdb0a2899mr142621wmq.14.1707148298966; Mon, 05 Feb 2024 07:51:38 -0800 (PST) Received: from guxtil (cpc100856-bagu15-2-0-cust368.1-3.cable.virginm.net. [82.25.93.113]) by smtp.gmail.com with ESMTPSA id js25-20020a05600c565900b0040fb989f4bdsm208984wmb.23.2024.02.05.07.51.38 for <68617-done@debbugs.gnu.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Feb 2024 07:51:38 -0800 (PST) From: Sharlatan Hellseher To: 68617-done@debbugs.gnu.org Subject: [PATCH] gnu: Add go-github-com-gabriel-vasile-mimetype. Date: Mon, 05 Feb 2024 15:51:15 +0000 Message-ID: <87a5oex630.fsf@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 68617-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-=-= Content-Type: text/plain Hi, Modification applied - package placed in golang-xyz.scm, as golang.scm in a process of split into logical modules, see - [description]: Append "This package provides a" Pushed as 317d9840d371469daa23d13ac7c62477ed347b54 to master. Thanks, Oleg --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEmEeB3micIcJkGAhndtcnv/Ys0rUFAmXBA/MACgkQdtcnv/Ys 0rWCHg/9HEVh3ByZZ198jeI1LjgOvFkvgcxQuw89k+dsx8PUFnIK1K73BDWiWcKM 0CZ7yJ7WsTZAQgBBDwv14yYvvNC/wP9pWnB00oeDfNnowvUu4NYfJrVKYQ5HQYM4 QqtE7XMW+NlI2ENpM4+6bHuwE5v1Q8Q5kdvn0QvYBFq6WA+qEysKHCQ8ZNTkeskP b18ZqVR3U/Z0zd2q238nbnrMSF33yKpfYi2orFWCE0vuEu8dYHSse7qiuolUelB2 2nrctaAe7PdCBF/cVUKNpiQII6tA762MX/juHVq0R8atdsEcg3nu69AzUl+kYCe/ jkF63d3phZxZ5lawfHyL2IXkGxOqmcC/YOzqELVV3t+3mTNm9DcmGP5xX3Ttbysn XYmkmB1vin5sU4ybUjuTEnbRH5/JoFAToJT7bwu6Nv63WWLxRcsvPCuUaA/PwyGq YAgLxlcqzN8jvxWvIn+etkQuFKBkrDHm3KpUHyqz1raZaUv9z/HSuYfRE8cweQ9Z LSJrNvW2Dwfq1DsxmFualSrPb3NSVL/kNS92k5Zgo0NgtxZhfJS50TQTnA1HlrpB eBs/R6AuxI+ZKkDIt7CvSuBmTVnI5WWjg6zguxH8utKXAZ52AeAqBCIOlF/bV+CV kXbs5/7Pm6cNzxlCw7nEWJmisgNmkJvxVnNanJ0DsBblvNRIJ7I= =A4wd -----END PGP SIGNATURE----- --=-=-=-- ------------=_1707148382-23244-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 20 Jan 2024 18:09:31 +0000 Received: from localhost ([127.0.0.1]:35706 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rRFmc-00005c-Fu for submit@debbugs.gnu.org; Sat, 20 Jan 2024 13:09:30 -0500 Received: from lists.gnu.org ([2001:470:142::17]:57848) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rRFmX-00005J-6n for submit@debbugs.gnu.org; Sat, 20 Jan 2024 13:09:29 -0500 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 1rRFmO-00082m-13 for guix-patches@gnu.org; Sat, 20 Jan 2024 13:09:16 -0500 Received: from mail-lj1-x230.google.com ([2a00:1450:4864:20::230]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rRFmL-0000OO-VC for guix-patches@gnu.org; Sat, 20 Jan 2024 13:09:15 -0500 Received: by mail-lj1-x230.google.com with SMTP id 38308e7fff4ca-2cdeb808f28so18267731fa.1 for ; Sat, 20 Jan 2024 10:09:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1705774152; x=1706378952; darn=gnu.org; h=mime-version:user-agent:message-id:date:subject:to:from:from:to:cc :subject:date:message-id:reply-to; bh=vPSivwgeeLOw5VMK5y0/R+JDfvpDGgTs31F68uTDaIo=; b=Slchg9Gn0iUiVPvv5nQeItQBv5Eyzr0lW8+etDJ2EnomWC9233s6JYe7BlDnQfLHdt LmoULPSMC3Zbo1Z0PAlSchL/Y/sUPwCfxGTQuk2Hgtrzf/qnKeoejQBnAy1iN4GoW42B YfquorUPLW3dX3PXRhroY7gf1ClpOcJCxfuUFdxLXRP2OVXFiJWQNQ8cEgZgehJvn1s7 kfDJkn7gyA6TPyeurC1VDmj6thSg5Bn+k+FrKUf0A+wsPN56RXzKrfjpUaZ3s8WAV8ku j+H6aThk3OOgiM/nd5q7A8yFh3hOC2yze5p/muS20RRGuRNl6XF2/N1ekX4aXJH/+kYJ teeA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705774152; x=1706378952; h=mime-version:user-agent:message-id:date:subject:to:from :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=vPSivwgeeLOw5VMK5y0/R+JDfvpDGgTs31F68uTDaIo=; b=i+JrCjV01hB7PYib/TqSvAvmjhHEY5qcjE/YrEVKj+6tdTTrMmnFrenmKD/ta2f8UG 8/J4oYkCN9b7QY6VxzbLLRdzJzUV74wsBQvnNIaOqOCbmJZ7mrA0qvt+I9kJWG7V+nsF j2HGRDD4CRlSnQGrtcIbd4JJ43XAwKWq59cslovFY933mDsfZdb5WpF9FtOfaTBOAYMY kS40plnQ2voPAJEaEEzRAZSpYJL9bNs+CsR+cVC+2U3OTMUAFj/Gj2mAst4NiCs3OUfX xLJb+gSxYgc0h1aqvKNemyiB8LVYr9y0AYobOsCH5pqP3KEm+ZGb0qPMhRPnu8NpwlYa W6Vw== X-Gm-Message-State: AOJu0YwoeEtBFVXiUwIuDYGsjwTb8paFj7kSXdopJWforVWqJkSR2cvX d0ubFTj2SVxn7c2ifbO8r4KCUP2OyKbXxJGBL1/tN9SvkVN4t9QGH4SWBKys X-Google-Smtp-Source: AGHT+IFk+Z5s4QkEW6+8Z3jqzlaHIXCJr+QVic0vypYyUKxWs2t7M0LNKvMPAPJkZqRSMTndawKpgg== X-Received: by 2002:a2e:8611:0:b0:2cd:5686:e1df with SMTP id a17-20020a2e8611000000b002cd5686e1dfmr857610lji.19.1705774151666; Sat, 20 Jan 2024 10:09:11 -0800 (PST) Received: from elephant ([95.79.79.224]) by smtp.gmail.com with ESMTPSA id z10-20020a2e840a000000b002cdfa7d2e43sm714642ljg.93.2024.01.20.10.09.09 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 20 Jan 2024 10:09:10 -0800 (PST) From: "Artyom V. Poptsov" To: guix-patches@gnu.org Subject: [PATCH] gnu: Add go-github-com-gabriel-vasile-mimetype. Date: Sat, 20 Jan 2024 21:09:08 +0300 Message-ID: <87msszev23.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Received-SPF: pass client-ip=2a00:1450:4864:20::230; envelope-from=poptsov.artyom@gmail.com; helo=mail-lj1-x230.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) --==-=-= Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= Content-Type: text/plain Hello, this patch adds "go-github-com-gabriel-vasile-mimetype"[1] --=-=-= Content-Type: text/x-diff Content-Disposition: attachment; filename=0001-gnu-Add-go-github-com-gabriel-vasile-mimetype.patch Content-Transfer-Encoding: quoted-printable From=20140d517610c3e9be4c5fb74e354f411c51d25cdc Mon Sep 17 00:00:00 2001 Message-ID: <140d517610c3e9be4c5fb74e354f411c51d25cdc.1705774054.git.poptso= v.artyom@gmail.com> From: "Artyom V. Poptsov" Date: Sat, 20 Jan 2024 21:07:27 +0300 Subject: [PATCH] gnu: Add go-github-com-gabriel-vasile-mimetype. * gnu/packages/golang.scm (go-github-com-gabriel-vasile-mimetype): New variable. Change-Id: Icb1624eb9a890b6f711dacf5ff80f15b041f3b7d =2D-- gnu/packages/golang.scm | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index 8fea581248..c2154ca675 100644 =2D-- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -4410,6 +4410,42 @@ (define-public go-github-com-technoweenie-multiparts= treamer without reading the entire content into memory.") (license license:expat))) =20 +(define-public go-github-com-gabriel-vasile-mimetype + (package + (name "go-github-com-gabriel-vasile-mimetype") + (version "1.4.3") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/gabriel-vasile/mimetype") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "11swnjczhrza0xi8q2wlk056nnbcghm44vqs52zfv6rwqvy6imhj")))) + (build-system go-build-system) + (arguments + (list + #:go go-1.20 + #:import-path "github.com/gabriel-vasile/mimetype" + #:phases + #~(modify-phases %standard-phases + (add-before 'check 'add-supported-mimes-md + (lambda* (#:key inputs #:allow-other-keys #:rest args) + ;; This file needs to be available for writing during the + ;; tests otherwise they will fail. + (let ((file + "src/github.com/gabriel-vasile/mimetype/supported_mim= es.md")) + (invoke "touch" file) + (chmod file #o644))))))) + (propagated-inputs (list go-golang-org-x-net)) + (home-page "https://github.com/gabriel-vasile/mimetype") + (synopsis "Golang library for media type and file extension detection") + (description + "A fast Golang library for media type and file extension detection, b= ased on +magic numbers .") + (license license:expat))) + (define-public go-github-com-tevino-abool (let ((commit "3c25f2fe7cd0ef3eabefce1d90efd69a65d35b12") base-commit: 9c367ee1967b213b507a8bf041ea6c2623ceea96 =2D-=20 2.41.0 --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Thanks, =2D avp References: 1. https://github.com/gabriel-vasile/mimetype/ =2D-=20 Artyom "avp" Poptsov Home page: https://memory-heap.org/~avp/ CADR Hackerspace co-founder: https://cadrspace.ru/ GPG: D0C2 EAC1 3310 822D 98DE B57C E9C5 A2D9 0898 A02F --=-=-=-- --==-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJNBAEBCgA3FiEEAf2F9Bp7f4IFgwalk16+BzbchX4FAmWsDEQZHHBvcHRzb3Yu YXJ0eW9tQGdtYWlsLmNvbQAKCRCTXr4HNtyFflQSD/9jZfIuwwmQOYuhj4F1N6oh n82BywyLHImlY2AqklAKCcj6NCuhiKUK9Vs/l5N3HeyUNfYFHOHi21HuwQTRi6Uh Ct/yZUEr1jaghDc05SWyRtkttSXmRnOBUZOm6r71jycRqIFs+ok4tbtZRD6hoaem 3gpvlQf9CCZBYCQVJ/YCwlQYfJq+1tiAZB8prJgCGuHllU+VyQ8vh2Ys8CbiuoUo rxujDpCuhj0jIPj0SAgBveWRnF6gR9HDOdunu+983+R40MpzMDJCLIwuiyP41Bku KJfuwmYzcgafX1i2AvNFbUvlBU+irfbIi/V0rMLz7FrAnJ/cBKHbCsR008DnVMDj Iz0+M5jP1iPjm5oTfly6bsPbafmBUIRgPVnDiNoB/Kbw9l8zBbN1iaXIPJRPZ66N XQnbnSuDtTbeUxYbdWtLHZ7KNM11+BNYOI5/qi6/MYd7lPUtrb3jXmYE+mLXVh/C /Wlh5cvhxQsmeMp7jhkeJJQRNTdTYQOWbxQn34nh4b3DuuXxlxdFDfpfOsDVlBok fJ93Zmxr05VSyjWJqQr8d1qo+a71Lm6xda0VrZAdoavEvwIO+VeiNpHc6pJ6zrBH ZiLMgIukJUMFxNVm4Tq4u1pkCnm3aaYrN6N3pNa6L1LPgxUlXBFFIRvo86oWRlhF D2sK+zZbRKuQXI60oO68hQ== =zwRq -----END PGP SIGNATURE----- --==-=-=-- ------------=_1707148382-23244-1--