From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 3cYVFGEC4mC9EwAAgWs5BA (envelope-from ) for ; Sun, 04 Jul 2021 20:48:01 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id wA0nD2EC4mAfHAAAB5/wlQ (envelope-from ) for ; Sun, 04 Jul 2021 18:48:01 +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 B6A0F22A1A for ; Sun, 4 Jul 2021 20:48:00 +0200 (CEST) Received: from localhost ([::1]:37750 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m06WV-0005tq-2n for larch@yhetil.org; Sun, 04 Jul 2021 14:07:19 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53240) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m053K-0006ac-NG for guix-patches@gnu.org; Sun, 04 Jul 2021 12:33:06 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:59819) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m053J-0001OZ-5T for guix-patches@gnu.org; Sun, 04 Jul 2021 12:33:05 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1m053J-0003Pv-3o for guix-patches@gnu.org; Sun, 04 Jul 2021 12:33:05 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49386] [PATCH 05/21] gnu: Add rust-postgres-0.19 Resent-From: Domagoj Stolfa Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 04 Jul 2021 16:33:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 49386 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 49386@debbugs.gnu.org Cc: Domagoj Stolfa X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.162541633912825 (code B ref -1); Sun, 04 Jul 2021 16:33:04 +0000 Received: (at submit) by debbugs.gnu.org; 4 Jul 2021 16:32:19 +0000 Received: from localhost ([127.0.0.1]:43077 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m052Z-0003Kb-7v for submit@debbugs.gnu.org; Sun, 04 Jul 2021 12:32:19 -0400 Received: from lists.gnu.org ([209.51.188.17]:39232) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m052X-0003Jq-C5 for submit@debbugs.gnu.org; Sun, 04 Jul 2021 12:32:17 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53034) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m052W-0006WU-Lo for guix-patches@gnu.org; Sun, 04 Jul 2021 12:32:17 -0400 Received: from mail-wr1-x436.google.com ([2a00:1450:4864:20::436]:42913) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m052U-0000pV-V4 for guix-patches@gnu.org; Sun, 04 Jul 2021 12:32:16 -0400 Received: by mail-wr1-x436.google.com with SMTP id t6so9069132wrm.9 for ; Sun, 04 Jul 2021 09:32:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=9xJtbI57z8cxmv8TNyZoEG1fq8KQkxwlMfRrRBkZd9w=; b=XSPo9dTJb5KtgC8Sfxg5XjED3v9Ayymwuzl0YQ5KxpEUqeyO2VKjpSLPqfeeHvEBfY p3FSYeV2j6nWgS0AEMDyPjLHJrw/LyqcTZqVGBeR+R3l1JzDmT71WiwOUf+SJ/h65W2G GIkN6x359O0rCemBK/d13ImHsHDBmIOgJ3Y7HpyV0EuuAT/SUfQlqTGw6urUZVb/Vhcj qdRErW61zgCoDXKj9rXG3QofBK7MwcrP80rHUjgbUYqB7I5qApq2HnRuEIqiwe9ZGZQw AKVuz4dD3JPfdc7Wrez8Eje/geCYpGv2VHDyDazuh/wrWnvgb4fyYfEkO2eV/4H/4osI Fxaw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=9xJtbI57z8cxmv8TNyZoEG1fq8KQkxwlMfRrRBkZd9w=; b=t07a7ts0v4PeK63oHWhpX2NIzRt2lnht1RjgyAyiCaI4gXV1TYTVyUZS1jRl5RDTrX RxAZOlqbqjI5o2+O3y6CjMe9aQ12i0j1J07Glm0I/ZZaPwcKXb1FKm8f4BCreNc8BjBr ex5wrmpMPfVKQ6yT21/+pJlz8ySQX6NlZu8s4IeejK/gMRmqoNbE8sFvdWQzzxNLkWP9 km6j4nv2eq7yOoQfPJUPEn6HOOv8nNg03xMXBdaHqnuQW265m+Q/WWdn0nRc5DTzO4hK bx7Dq21yeoxjF871kdTZGIMDExZinIRChi2FQ/4gzSgtVC2R7FC0f9utKeTchzB71qDF 4s4Q== X-Gm-Message-State: AOAM530HouyALSNrsK5WYA5GUBHvh9PyzYQxL3lgZQIeyduugmrOVb1L FLV1KAjL0ev2Il+ChffDkZrCxgn1dIv70A== X-Google-Smtp-Source: ABdhPJzGRXmv9iqIqc3Cjoqv4uk9BCZ1MfHDqHokotmM/98+thbJ9Y8KaL4YTxZa4mWyJgHzBymSLQ== X-Received: by 2002:a5d:4ac6:: with SMTP id y6mr10866999wrs.347.1625416333767; Sun, 04 Jul 2021 09:32:13 -0700 (PDT) Received: from pepehands.quns.cam.ac.uk (ds815.queens.cam.ac.uk. [131.111.128.28]) by smtp.googlemail.com with ESMTPSA id r18sm11359306wmh.23.2021.07.04.09.32.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 04 Jul 2021 09:32:13 -0700 (PDT) From: Domagoj Stolfa X-Google-Original-From: Domagoj Stolfa Date: Sun, 4 Jul 2021 17:31:47 +0100 Message-Id: <20210704163203.31351-6-ds815@gmx.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20210704163203.31351-1-ds815@gmx.com> References: <20210704163203.31351-1-ds815@gmx.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a00:1450:4864:20::436; envelope-from=domagoj.stolfa@gmail.com; helo=mail-wr1-x436.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 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Mailman-Approved-At: Sun, 04 Jul 2021 14:06:40 -0400 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=1625424480; 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=9xJtbI57z8cxmv8TNyZoEG1fq8KQkxwlMfRrRBkZd9w=; b=lVI6Hqz4PAOPlCjCo0XKexwTDxDQZuzh4eRtskODxNPh/Cvi7xc0lrG6y4ArRQeES9/7uF NOKhBPopQUMoxDOdLSKjGM8oTdSJ/eiyzpQfi7xkN3rsLQAtwYD454EKupYSJhCHwqK4hG rUJsU4OlNV1geGcxWMpKps593+P5b25XhsO47EtkdI5ZFVOIjd4e8zZcOTUp56VhOX/k0D CtnE7jIInnmyPfNoiLCABFbFGd/M4ImgeAUaC4zv9aCYV5cKqHvH/R/GbewDqjkC74j5/F KTSBO7ni/hzuFDA9ttXXKJ7HP88ivSSMAw13g5zwrI+pByKMjffQ5wKND1cvqQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1625424480; a=rsa-sha256; cv=none; b=syEPpqQBRvB7IP8v31cvbs+9u2HnfTbAdHI61TivggrcpuBf12z22Nil9SOdTJrnCXh+Er ekeICzFHh6x53WDxjYL13H8KnCzPOZgWgox0UwhDQac6fzF/D+RnmNMxZHULHaKBVkuAfX Ocp1mhtCEF7Ti7QFdBfo0c+lLQrSH2AtXCyGD9/tqztKAFP0jg0noeXxvXxaLUKh+DpQOZ LT3gbvGwjXLuJwN1N2LFRs1387M9PdKVqKMJo+mDwDjVOQV4GnqVI894UcdVbYvltqMwIx 3YBQQsyRc7wtyEDgLlCrLb0Ia1Dro+eazHx1Vko+m28tPt+3wApy9X67E4qCaw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20161025 header.b=XSPo9dTJ; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (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: 4.19 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20161025 header.b=XSPo9dTJ; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (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: B6A0F22A1A X-Spam-Score: 4.19 X-Migadu-Scanner: scn0.migadu.com X-TUID: O7CjqN177lfY * gnu/packages/crates-io.scm (rust-postgres-0.19): New public variable. --- gnu/packages/crates-io.scm | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 61641c9a05..b77c044dbf 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -32516,6 +32516,39 @@ UDP.") "This package provides a native, synchronous PostgreSQL client.") (license license:expat))) +(define-public rust-postgres-0.19 + (package + (name "rust-postgres") + (version "0.19.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "postgres" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1hnid1d78zrr8ph12lpvp5b2cpx2fsqqgqs2yn1q23c6g7jix1y7")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-bytes" ,rust-bytes-1) + ("rust-fallible-iterator" + ,rust-fallible-iterator-0.2) + ("rust-futures" ,rust-futures-0.3) + ("rust-log" ,rust-log-0.4) + ("rust-tokio" ,rust-tokio-1) + ("rust-tokio-postgres" ,rust-tokio-postgres-0.7)) + #:cargo-development-inputs + (("rust-criterion" ,rust-criterion-0.3)))) + (home-page + "https://github.com/sfackler/rust-postgres") + (synopsis + "A native, synchronous PostgreSQL client") + (description + "This package provides a native, synchronous PostgreSQL client") + (license (list license:expat license:asl2.0)))) + (define-public rust-postgres-protocol-0.3 (package (name "rust-postgres-protocol") -- 2.32.0