From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id eDFnIfsG62D9mAAAgWs5BA (envelope-from ) for ; Sun, 11 Jul 2021 16:58:03 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id yLINHfsG62CtHgAAB5/wlQ (envelope-from ) for ; Sun, 11 Jul 2021 14:58:03 +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 2B25D2CD54 for ; Sun, 11 Jul 2021 16:58:03 +0200 (CEST) Received: from localhost ([::1]:49700 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m2auA-0000mT-74 for larch@yhetil.org; Sun, 11 Jul 2021 10:58:02 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33800) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m2atL-0006Vu-0M for guix-patches@gnu.org; Sun, 11 Jul 2021 10:57:11 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:52382) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m2atK-0007D1-Nl for guix-patches@gnu.org; Sun, 11 Jul 2021 10:57:10 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1m2atK-0003er-OA for guix-patches@gnu.org; Sun, 11 Jul 2021 10:57:10 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49383] [PATCH v2 22/26] gnu: Add rust-postgres-0.19 Resent-From: Domagoj Stolfa Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 11 Jul 2021 14:57:10 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49383 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 49383@debbugs.gnu.org Cc: Domagoj Stolfa Received: via spool by 49383-submit@debbugs.gnu.org id=B49383.162601541713862 (code B ref 49383); Sun, 11 Jul 2021 14:57:10 +0000 Received: (at 49383) by debbugs.gnu.org; 11 Jul 2021 14:56:57 +0000 Received: from localhost ([127.0.0.1]:35665 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m2at7-0003bO-E3 for submit@debbugs.gnu.org; Sun, 11 Jul 2021 10:56:57 -0400 Received: from mail-wr1-f42.google.com ([209.85.221.42]:46799) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m2asx-0003Xz-T1 for 49383@debbugs.gnu.org; Sun, 11 Jul 2021 10:56:48 -0400 Received: by mail-wr1-f42.google.com with SMTP id d12so20203363wre.13 for <49383@debbugs.gnu.org>; Sun, 11 Jul 2021 07:56:47 -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=w1oSJlr7qrACzKXtVIMXVyGZOj1Mcm+IoOjoXr4XMkI=; b=GOOjZuMN9MQQAX2mmuLkkKq0eaVJXW7umfJwfFzbu5Oy9KiiwoMhTb+kGYYIfPQuYD RjxAE58Bh5PJxqDK1S/zvG/4QXP+xyRxglPSMF4dliHRTHeh3UkThgTLK4fJvhCIJVN/ v/jNhf6ruhFuUUUTGJdHermKOZM+wSc4akIMuynoplzkWyRYkL2oFwYv4XCi4/kHh9HC vZmpyl+wlyNOUJ5Xy+ujVFHnmcgXe/mZzdryZRtSIQVxE8dc7GcrmHaWLTwOcm6pMCW4 WJjxVtHzDH7ZyWDP0+vlVCinYAfPnwuC1J8gajZf2RDCemDC1IkpCp78iMbg4tvEIAcZ w3Xg== 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=w1oSJlr7qrACzKXtVIMXVyGZOj1Mcm+IoOjoXr4XMkI=; b=gNSDGzvA1hDUnpOBdzLg0NXDLreCyXVKW1xNm3/l08T2ZEoW8pM/XGGfbK7cWqyDtC TnHDeTkuVwGH91Ud8zFTVsEyLbn6CCqkCOW+trHNVCKgwpBiRUbREtxCZNcg4jxgN9JD 46wkDhKuAwSgWPTec7w1ekhsa7ISpvwHhytYRb0dyp7CCQn+prNt7i0TtyEND1uu8Y7u i6ZCuFh0V7nqis+d8uhgY8KBQB56gA5sxZq9Wcpotad5MyplifT9aJ/5pY6pb43+KQLE HO6ktNGKtCCBFWv6o78gObPgS89m7DEhh552XclRmp+07VUnQ4WJWk8BmBlIGcfPDSEV vQwg== X-Gm-Message-State: AOAM531DN3R8BEDW26dPgbHHJuXt0FEUhRrHNFtnw4+kUOwAjilbb2+g hnnMpJ60nbwIRfnNYu1eY2NV7HHvBOuKxw== X-Google-Smtp-Source: ABdhPJzgYixTx7J55ORm3z5kYEh1dof+9roM4fSy5luEIB1W7XgyNJ8X0zpEusjWn12tr4wsq08aLA== X-Received: by 2002:a5d:4bc6:: with SMTP id l6mr15876420wrt.53.1626015402273; Sun, 11 Jul 2021 07:56:42 -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 b16sm11827632wrs.51.2021.07.11.07.56.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 11 Jul 2021 07:56:41 -0700 (PDT) From: Domagoj Stolfa X-Google-Original-From: Domagoj Stolfa Date: Sun, 11 Jul 2021 15:55:54 +0100 Message-Id: <20210711145558.20441-23-ds815@gmx.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20210711145558.20441-1-ds815@gmx.com> References: <20210711145558.20441-1-ds815@gmx.com> 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=1626015483; 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=w1oSJlr7qrACzKXtVIMXVyGZOj1Mcm+IoOjoXr4XMkI=; b=H3bCmQNBIcl6ZglZQ/XigxaWdZYj2VKBRfCdj9DC2WLTyntLcHxyqnL0skNTh+cOmujVRk bLciTD+MaFzMHPSAUf85D2ytmBFsPRIc/zxc7QZYNFuT2NINFxgAk1PmDjoa/cxDXJd3QU Sh049zfrMG4Idwgqyfm/zU0ubsGJIJ0kwvzO/cB7cHwmd9pbURQVM4ksqWElBYSeD2skBf iti3Q3vAriGwK5WM7O9ilnw4nj9WueiO6ECkv8UipSJWxurAikV7yE4ezpXoDO+LFrj5QR noEwPUx949k5cODdueaaaDbqxBEVIfHUggSIdCpRr/jb3KOmgjVEjZcXEmekRg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1626015483; a=rsa-sha256; cv=none; b=DBAitCiQ9kMhh+Qw1Y0QEP6LG6UE8fV8EBx/YyKoNhHrjrs6mU2bv1t6jHVoj+ienUjsXQ vP6SITj5t8Lkmg7ngoBhOeBmJOOC6+ks9lDCJf1Nu6xt5mAIz4GVOX1ivkPIcRriyYFtww HRM0u1IKcJioQCLO3gURzfoAYNav4QxyqB0rDnUSEK0cF/jD5pbQBDcpat4rlFD9t50+00 rMp0NkNHBAcN1n6JbqtO6GuM+hiK5jPOhx5ld+JwKiuN85VyBBCfTymbaK6SNk/9+9Jghf W6ptEOqSWkxn/8aahn/73UMhl0KS+nMKBst5JS9xWuDGnyEt+JBAGnrdNmsFvQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20161025 header.b=GOOjZuMN; 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: 2.70 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20161025 header.b=GOOjZuMN; 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: 2B25D2CD54 X-Spam-Score: 2.70 X-Migadu-Scanner: scn1.migadu.com X-TUID: fTt2ZWCsukIc * gnu/packages/crates-io.scm (rust-postgres-0.19): New public variable. --- gnu/packages/crates-io.scm | 40 ++++++++++++++++++++++++++++++++------ 1 file changed, 34 insertions(+), 6 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 4224cf525d..e4d33adfdd 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -32852,8 +32852,41 @@ overloading without macros in Rust.") UDP.") (license license:unlicense))) +(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 + `(#:skip-build? #t + #: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 "Native, synchronous PostgreSQL client") + (description + "This package provides a native, synchronous PostgreSQL client.") + (license license:expat))) + (define-public rust-postgres-0.15 (package + (inherit rust-postgres-0.19) (name "rust-postgres") (version "0.15.2") (source @@ -32877,12 +32910,7 @@ UDP.") ("rust-rustc-serialize" ,rust-rustc-serialize-0.3) ("rust-schannel" ,rust-schannel-0.1) ("rust-security-framework" ,rust-security-framework-0.1) - ("rust-socket2" ,rust-socket2-0.3)))) - (home-page "https://github.com/sfackler/rust-postgres") - (synopsis "Native, synchronous PostgreSQL client") - (description - "This package provides a native, synchronous PostgreSQL client.") - (license license:expat))) + ("rust-socket2" ,rust-socket2-0.3)))))) (define-public rust-postgres-derive-0.4 (package -- 2.32.0