From patchwork Sun Jun 19 17:27:04 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: antlers X-Patchwork-Id: 40171 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id AF4C127BBEA; Sun, 19 Jun 2022 18:30:23 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 5EB0A27BBE9 for ; Sun, 19 Jun 2022 18:30:23 +0100 (BST) Received: from localhost ([::1]:35366 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o2ykf-0005AB-N9 for patchwork@mira.cbaines.net; Sun, 19 Jun 2022 13:30:22 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36556) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o2yjS-0003xK-Hj for guix-patches@gnu.org; Sun, 19 Jun 2022 13:29:06 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:59175) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o2yjS-0004Ia-91 for guix-patches@gnu.org; Sun, 19 Jun 2022 13:29:06 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1o2yjS-0006RB-6A for guix-patches@gnu.org; Sun, 19 Jun 2022 13:29:06 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#56057] [bug #56057] [PATCH v2 14/21] gnu: Add rust-open-3. Resent-From: antlers Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 19 Jun 2022 17:29:06 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56057 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 56057@debbugs.gnu.org Cc: antlers Received: via spool by 56057-submit@debbugs.gnu.org id=B56057.165565969024533 (code B ref 56057); Sun, 19 Jun 2022 17:29:06 +0000 Received: (at 56057) by debbugs.gnu.org; 19 Jun 2022 17:28:10 +0000 Received: from localhost ([127.0.0.1]:53048 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o2yiX-0006NX-UP for submit@debbugs.gnu.org; Sun, 19 Jun 2022 13:28:10 -0400 Received: from mail-pl1-f181.google.com ([209.85.214.181]:36573) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o2yiP-0006KA-J1 for 56057@debbugs.gnu.org; Sun, 19 Jun 2022 13:28:03 -0400 Received: by mail-pl1-f181.google.com with SMTP id m2so598416plx.3 for <56057@debbugs.gnu.org>; Sun, 19 Jun 2022 10:28:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=0MYN7cR1PlfSDyY19iQ82d/5H7eVLkIqD6xdMbJMx50=; b=KMh2NbmtoADIoHOjWRS4MKCAB8f4J7VXh0nJLwlyvQg4EZWmx5V1e+VQ1C6pgtBwej TRFLp0gNY6kqsQucVuHPhXCmmYZl/PNJvGyacCFLi7haaEAA0onRO9tspOLv93TO20t4 scVvCPHVnrcX8SjEgjrlRFQWr7Rd7vKPmCIneQ/6mAd6wUfntZmFranhbeCaK1HeiG25 nJCj9ybKbB0jr6QF/fMRoFP9nfBSW3SeL57MyjnxZsESLNor5AqfGvGyiowUYdqKeLHO Za3IO16/WJt44lYCl9byvu+26M7o1sZ7zP4jIYdhxE4L5wEiSMoinSJ9GosND48rj/V3 gWbA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=0MYN7cR1PlfSDyY19iQ82d/5H7eVLkIqD6xdMbJMx50=; b=54s4TguxI1ZBSUXXYcgIgQHLgE/AMSTmoaR9tnZgCoR9Y/Rvzowb6Qn4cfdqmsWEsu QIHyI5IBU6R+GZwaYCRHORWY54nkYm0WkE83lg13NhIN/MOvZUezb1X8O9AYckF/sZr6 rD23Pe4EBNkDNcdOAVQxWOXDUf2IbPJ8XGBjMEzwRAmc5DzQVbilPJivt3F4eDpOM4ha sq5c+97qp3JsmjHeJDidt0HrFOm2ngBNhjdNMZ9hMTXOcMuDFgSYOJ6hDCnB4Y8EUb4U BCQtShoO2xNfHFBTcdAYN9RGoxA7lHcX68cDqO7EB6sHDhimYw+ps6G4sDTzKF4Xc2Mt JBiA== X-Gm-Message-State: AJIora8VtBDf2o7Gh6OpVLFqOut6LOlrx60ks9Va1E7xiTbIUVWwy5nM Eze9HDKW2QKQ/xv4vBGsy1uFbN+IXO4= X-Google-Smtp-Source: AGRyM1v82Qp0AToJ3nIQQA6bqekSfPJzbDvPK1Dw2Jo8IIoL7QIkON0M24thDtwvWqn7721Ibsm4tA== X-Received: by 2002:a17:903:110e:b0:167:8847:5d9d with SMTP id n14-20020a170903110e00b0016788475d9dmr19808086plh.3.1655659675781; Sun, 19 Jun 2022 10:27:55 -0700 (PDT) Received: from tower.hitronhub.home (24-113-171-200.wavecable.com. [24.113.171.200]) by smtp.gmail.com with ESMTPSA id o68-20020a62cd47000000b005251e2b53acsm1204051pfg.116.2022.06.19.10.27.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 19 Jun 2022 10:27:55 -0700 (PDT) From: antlers X-Google-Original-From: antlers Date: Sun, 19 Jun 2022 10:27:04 -0700 Message-Id: <20220619172711.3413-15-antlers@luris.net> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220619172711.3413-1-antlers@luris.net> References: <79b17d35358df25550bf846d732a57044c8436dd.camel@telenet.be> <20220619172711.3413-1-antlers@luris.net> MIME-Version: 1.0 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+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/crates-io.scm (rust-open-3): New variable. (rust-open-2): Inherit from rust-open-3. --- :100644 100644 9a44c3a846 83be540cf7 M gnu/packages/crates-io.scm gnu/packages/crates-io.scm | 34 ++++++++++++++++++++++++++-------- 1 file changed, 26 insertions(+), 8 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 9a44c3a846..83be540cf7 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -39686,29 +39686,47 @@ (define-public rust-opaque-debug-0.2 (base32 "02942l2gc7w5r4js7i9063x99szic5mzzk1055j83v4diqpbpxck")))))) +(define-public rust-open-3 + (package + (name "rust-open") + (version "3.0.1") + (source (origin + (method url-fetch) + (uri (crate-uri "open" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1zhhz4a9ag0418cmj0ky11xidpcavv2crhsl76m66qxz2s1wq2rn")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-pathdiff" ,rust-pathdiff-0.2)))) + (home-page "https://github.com/Byron/open-rs") + (synopsis "Open a path or URL using the program configured on the system") + (description + "Use this library to open a path or URL using the program configured on +the system.") + (license license:expat))) + (define-public rust-open-2 (package + (inherit rust-open-3) (name "rust-open") (version "2.0.2") (source (origin + (inherit (package-source rust-open-3)) (method url-fetch) (uri (crate-uri "open" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "1dq9c6dgq7iv5kvqfk8gvkfq34j5pdinfcs1hbdd4x6i62vf8vhp")))) - (build-system cargo-build-system) (arguments `(#:skip-build? #t #:cargo-inputs (("rust-pathdiff" ,rust-pathdiff-0.2) - ("rust-winapi" ,rust-winapi-0.3)))) - (home-page "https://github.com/Byron/open-rs") - (synopsis "Open a path or URL using the program configured on the system") - (description - "Use this library to open a path or URL using the program configured on -the system.") - (license license:expat))) + ("rust-winapi" ,rust-winapi-0.3)))))) (define-public rust-open-1 (package