From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id gNxPJkzTEGEYQAAAgWs5BA (envelope-from ) for ; Mon, 09 Aug 2021 09:03:40 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id kLHOIUzTEGEQHwAAbx9fmQ (envelope-from ) for ; Mon, 09 Aug 2021 07:03:40 +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 3179117D9E for ; Mon, 9 Aug 2021 09:03:40 +0200 (CEST) Received: from localhost ([::1]:45650 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mCzJz-0006bL-5E for larch@yhetil.org; Mon, 09 Aug 2021 03:03:39 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56744) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mCzJR-0005vZ-5t for guix-patches@gnu.org; Mon, 09 Aug 2021 03:03:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:44008) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mCzJQ-0000yQ-Ne for guix-patches@gnu.org; Mon, 09 Aug 2021 03:03:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mCzJQ-0003hg-9J for guix-patches@gnu.org; Mon, 09 Aug 2021 03:03:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49867] [PATCH v2 24/31] gnu: Add ocaml-pbkdf. Resent-From: pukkamustard Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 09 Aug 2021 07:03:04 +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.162849254114097 (code B ref 49867); Mon, 09 Aug 2021 07:03:04 +0000 Received: (at 49867) by debbugs.gnu.org; 9 Aug 2021 07:02:21 +0000 Received: from localhost ([127.0.0.1]:55538 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mCzIj-0003fC-Gp for submit@debbugs.gnu.org; Mon, 09 Aug 2021 03:02:21 -0400 Received: from mout02.posteo.de ([185.67.36.66]:40645) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mCzIM-0003Yo-84 for 49867@debbugs.gnu.org; Mon, 09 Aug 2021 03:01:58 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 82C84240101 for <49867@debbugs.gnu.org>; Mon, 9 Aug 2021 09:01:52 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1628492512; bh=GZ21TnMxGbxhqJjjPreOiR8GA3hYieh/b7cK7FVDs24=; h=From:To:Cc:Subject:Date:From; b=UkO9BnlHa+8X3ANLGQSVU/mQsLOrMUwuEQ+92kZ/c3FEhLmpqwJRH1+7fJp7kcEj1 IyozotEe2RRwOI/fdJjfUkAXuDz9r8FZEwjONlUoLmeCkpAcgivpFe/INdh8oQ7j1B UfCXn4ezBCAFSMiz5GBU3T5xvJM/qDmBFhKKGKZ0OQ4+rq3elyNg4TpAt4N6NvCBld iZuUvJKsmzqdzzyB5EPzn49RoJFwyVaxE4wy0DRm5/lcSBivx+iMxvGnTif49gk1Bj +cixZ3DULRHOV80HhhjRcpwtn7zC/GDgh+vCy3W6/RVXGt9JVaeQVgU1sJfaqMV9qA iTwJrlwZaTwvg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Gjn7g6ZsLz6tmG; Mon, 9 Aug 2021 09:01:51 +0200 (CEST) From: pukkamustard Date: Mon, 9 Aug 2021 07:01:17 +0000 Message-Id: <20210809070124.25641-24-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=1628492620; 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=suvFRN8vqe5SrQuaRxLtuIjJ2Xg+BV+FbWDYCAa5Z6Q=; b=QL2OymbCkQT/z0KbHJbyjUV9WtkbgGDYnRQ3vNvdTcwzW+9Q57VzgLtVttNSik0JcMF9h8 Ra5RoAfQN2cLr3kztnvqCc/nddpAjmNGqp8k9KQOwy2uHPETw4yO5LV1lMIe57k5q1mTPO IJYkXdUcIvgXeH8NUcVceWOYfPP1Tanrfz+N+sYwqy1AXnaky6nPhFr7knYWptrVUOM01r wySkW6+AQ2T9XBj0XO9hDmXdn5FMxS+2n0RLeQ3rL0nUdIBwHUAWLob8P3gFjtjKL4vDRU wVZloYCtyWDmG/1aFPrDt52JmCVk2bH3JG4YkT6c1K3hk88eubbZLq9OG9awbA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1628492620; a=rsa-sha256; cv=none; b=hZLE3fgY5SEHZNQ5U1y6eVzZtp/M0FvztmyyaIDCJeOfssmgjbxZlD0qXSc4yQ+Phjilfw CRNNreMXguvB8D2IL8b0Edo0uS1IkyaGPoQHubmSDIHao2h0PC6D3iiWmTYdfTPC02WHBR bvwZj3biR+UrcUMdzpQdJUxjX1i3yBYUsedE6MqoqlaiY0m7FHZIZahoTxloFNXXtk4ui6 1yZoB6Qw0d9i59k8VXzSPJ+SwGZX1B+y8VRvAmZcin2UZCw8xibpjMQ8ULMoN5AfYopuSh nXye1IR+RZimh46V3/Yz3LYX56i0zWdbf3OPvx6ifX+t0pMtRy6QWE3ReGCnKg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=UkO9BnlH; 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=UkO9BnlH; 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: 3179117D9E X-Spam-Score: 3.69 X-Migadu-Scanner: scn1.migadu.com X-TUID: lBQSLBMSQz3d * gnu/packages/ocaml.scm (ocaml-pbkdf): New variable. --- gnu/packages/ocaml.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm index d37a40d22e..df825d1ec3 100644 --- a/gnu/packages/ocaml.scm +++ b/gnu/packages/ocaml.scm @@ -7913,6 +7913,32 @@ Algebraic Data Type") to create a type-safe heterogenous maps.") (license license:isc))) +(define-public ocaml-pbkdf + (package + (name "ocaml-pbkdf") + (version "1.1.0") + (home-page "https://github.com/abeaumont/ocaml-pbkdf") + (source + (origin + (method git-fetch) + (uri (git-reference + (url home-page) + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0scq1i7hiy8dgjdfrcaca3k7wzys35k1g2cdg7v4kfdqr6q1scb3")))) + (build-system dune-build-system) + (propagated-inputs + `(("ocaml-mirage-crypto" ,ocaml-mirage-crypto))) + (native-inputs + `(("ocaml-alcotest" ,ocaml-alcotest))) + (synopsis "OCaml library for password based key derivation functions +(PBKDF) from PKCS#5") + (description "This package provides an OCaml implementation of PBKDF 1 and +2 as defined by PKCS#5 using @code{ocaml-mirage-crypto}.") + (license license:bsd-2))) + (define-public js-of-ocaml (package (name "js-of-ocaml") -- 2.32.0