From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id SFwcMG/TEGGdQAAAgWs5BA (envelope-from ) for ; Mon, 09 Aug 2021 09:04:15 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id uCGbK2/TEGEyHwAAbx9fmQ (envelope-from ) for ; Mon, 09 Aug 2021 07:04:15 +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 47D1E1D014 for ; Mon, 9 Aug 2021 09:04:15 +0200 (CEST) Received: from localhost ([::1]:48682 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mCzKY-0000Ci-D7 for larch@yhetil.org; Mon, 09 Aug 2021 03:04:14 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56758) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mCzJS-0005xT-7Q for guix-patches@gnu.org; Mon, 09 Aug 2021 03:03:06 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:44012) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mCzJS-0000z9-0u for guix-patches@gnu.org; Mon, 09 Aug 2021 03:03:06 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mCzJR-0003iB-TT for guix-patches@gnu.org; Mon, 09 Aug 2021 03:03:05 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49867] [PATCH v2 30/31] gnu: Add ocaml-magic-mime. Resent-From: pukkamustard Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 09 Aug 2021 07:03:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49867 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 49867@debbugs.gnu.org Cc: pukkamustard Received: via spool by 49867-submit@debbugs.gnu.org id=B49867.162849254314126 (code B ref 49867); Mon, 09 Aug 2021 07:03:05 +0000 Received: (at 49867) by debbugs.gnu.org; 9 Aug 2021 07:02:23 +0000 Received: from localhost ([127.0.0.1]:55546 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mCzIk-0003fg-Nz for submit@debbugs.gnu.org; Mon, 09 Aug 2021 03:02:23 -0400 Received: from mout02.posteo.de ([185.67.36.66]:59863) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mCzIR-0003ao-E1 for 49867@debbugs.gnu.org; Mon, 09 Aug 2021 03:02:03 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 9B713240101 for <49867@debbugs.gnu.org>; Mon, 9 Aug 2021 09:01:57 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1628492517; bh=2sNuR5ObTG6lT4pVhESea8hedyhUd3HbusxOcOVx2gc=; h=From:To:Cc:Subject:Date:From; b=ppNJN+SP46whcIWuLIdzNWiJV56ZU+Dd3HzrfMsUH5ZKe3ku91hvU8IX0ZLpwVwDo hPVJgUHf6ZitMMe+EO5PC0tI5mWOqQx0Py+6Sb1FBgNXIAltjAFzZPLbq0briXmBWu F1pAjPgs2uS0F2qmT+FgNmcsBGUKQwAnDBAZSEhuoiERx9CVFBGFH8/AtEN8lDHiIK C8tBcKsemMj+NIXDiFdcFv3nGUQWPCvZKznZxuVZ5cw6JpU5pzSuWhwugOISqaxf3d kIoA4DJWO5P5MB8fNHjk3AOr874lq9mMr43L4TIS5Q3K725gcF51rsr0HUP/6AmHU0 Oq+BeM6dXBXWQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Gjn7m1nvZz6tmK; Mon, 9 Aug 2021 09:01:56 +0200 (CEST) From: pukkamustard Date: Mon, 9 Aug 2021 07:01:23 +0000 Message-Id: <20210809070124.25641-30-pukkamustard@posteo.net> In-Reply-To: <20210809070124.25641-1-pukkamustard@posteo.net> References: <86pmun5cp5.fsf@posteo.net> <20210809070124.25641-1-pukkamustard@posteo.net> MIME-Version: 1.0 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=1628492655; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc: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=k26eAFw3E7ciNaU6iW2CtqIrZJ0mT2pucLGbF2W+vss=; b=nSmsI9G2Suxy62XkRZkzV1ZeNWkF2AzGcFKIMUqPBA/HTrh3V9t/JQ/0TYtUjppWt6HnaK xljY3HKyMz+J+C31Q3NztC2/+xXl2eO+4IqPxzdn1IcYhSSLNRgHmwXvBi7UpyB7Pb+ups wx0Fm0tXYoyETCDvyC7QFGlydoPazW9USQ/gSNdI83hLfvsiDBGju0dCAw6hhXU3bRnYL3 INqkl0dUT6fUqA+M0MLuYNj0ml6lf3kpQ5qYZujdZ8BnR/sSHVSoc1upRHQOdbBUO0JJBR cQbHeUdy40lnPheLgv92rpxKj/uVpuBNOH304sJUl/Woht+2mVMFvuH5b1t24Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1628492655; a=rsa-sha256; cv=none; b=RxZQ8DFPIAyV+SKlyZaZC3q6sp+LFLaySTv1OwMb1Ert/BoFEgdxN9fiGV481ZvWHYDMvs bQX1PgGgyPTkCOnXm9waok2v0KSvMLRz+8EWfAQjkNxPH6a49G/63KW3lVfpjGuwKgM1VC vF06WlOzODlox7WXjp3OpMX9xFeHOz5hId+IgzOYn5Q4b1ZabDDlt7ZHWGLjFk2T9wFZ1V KKhhqSvaSxhHEDkB7d4pXoz53cUAaH2QJYKeLAUrfYgsP+uxsyc8bncAS3s4qSdij28iiF V/8av6PdxDxuBGoHf3Qp9kBX0A4eqx2z8bY43xRqR/vUAiaaO3X9KmPXW1erng== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=ppNJN+SP; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=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: 3.69 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=ppNJN+SP; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=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: 47D1E1D014 X-Spam-Score: 3.69 X-Migadu-Scanner: scn1.migadu.com X-TUID: DPXy69DPg3u/ * gnu/packages/ocaml.scm (ocaml-magic-mime): New variable. --- gnu/packages/ocaml.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm index b35994231d..42e6fd2e94 100644 --- a/gnu/packages/ocaml.scm +++ b/gnu/packages/ocaml.scm @@ -7424,6 +7424,31 @@ JavaScript backend, or @code{ocaml-cohttp-mirage} for the MirageOS unikernel version of the library. All of these implementations share the same IO logic from this module."))) +(define-public ocaml-magic-mime + (package + (name "ocaml-magic-mime") + (version "1.2.0") + (home-page "https://github.com/mirage/ocaml-magic-mime") + (source + (origin + (method git-fetch) + (uri (git-reference + (url home-page) + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1pmwxw5n0lxbp7b9z1wplkn0cfl816cbacx3cdj2912n5zyjpjnk")))) + (build-system dune-build-system) + (arguments `(#:test-target ".")) + (synopsis "OCaml library for mapping filenames to common MIME types") + (description "This library contains a database of MIME types that maps +filename extensions into MIME types suitable for use in many Internet +protocols such as HTTP or e-mail. It is generated from the @file{mime.types} +file found in Unix systems, but has no dependency on a filesystem since it +includes the contents of the database as an ML datastructure.") + (license license:isc))) + (define-public ocaml-domain-name (package (name "ocaml-domain-name") -- 2.32.0