From patchwork Sat Sep 4 07:44:42 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: phodina X-Patchwork-Id: 32600 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 2965227BBE3; Sat, 4 Sep 2021 08:45:12 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id E4EB427BBE1 for ; Sat, 4 Sep 2021 08:45:11 +0100 (BST) Received: from localhost ([::1]:55372 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mMQMQ-0001Wb-MZ for patchwork@mira.cbaines.net; Sat, 04 Sep 2021 03:45:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37890) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mMQMI-0001WP-KY for guix-patches@gnu.org; Sat, 04 Sep 2021 03:45:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:34968) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mMQMI-0001EK-C6 for guix-patches@gnu.org; Sat, 04 Sep 2021 03:45:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mMQMI-0005T7-9n for guix-patches@gnu.org; Sat, 04 Sep 2021 03:45:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#50367] [PATCH 21/22] gnu: Add rust-enumflags2-0.6. References: In-Reply-To: Resent-From: phodina Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 04 Sep 2021 07:45:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50367 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: "50367@debbugs.gnu.org" <50367@debbugs.gnu.org> Received: via spool by 50367-submit@debbugs.gnu.org id=B50367.163074149520998 (code B ref 50367); Sat, 04 Sep 2021 07:45:02 +0000 Received: (at 50367) by debbugs.gnu.org; 4 Sep 2021 07:44:55 +0000 Received: from localhost ([127.0.0.1]:46514 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mMQMB-0005Sc-3I for submit@debbugs.gnu.org; Sat, 04 Sep 2021 03:44:55 -0400 Received: from mail1.protonmail.ch ([185.70.40.18]:10755) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mMQM8-0005SJ-I9 for 50367@debbugs.gnu.org; Sat, 04 Sep 2021 03:44:53 -0400 Date: Sat, 04 Sep 2021 07:44:42 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail; t=1630741486; bh=PLD3/5N+aJ6QX7pRrXcyK45tJA+4IahYywMFKG8fxEU=; h=Date:To:From:Reply-To:Subject:From; b=nJMmKMCCR7HWXRup7F/t2LkQr0x3AzamUOgGjZqirgsp4nu3fcI7hQDU1app4HeVd yAt85PCIvbSi80/cd6ubbabbV6rkk/8z2zGOue1shtnaWQhASlyyVZlhFBkQyrASF8 76Gy3qNHU32NB8+VX/SSvdgPZEbgcKgAqXDzdAL4= Message-ID: <-mdrGDGoNhVYl3x5Fl4u4m5ZEVGnHGqqCqrniUmjx4UFJI_mYRU1yBXBjyeoucsJc0Xpu9Rfom9KcmTKIzDV2MPbo-m2dOSvr5C1Mn_v_jk=@protonmail.com> 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" Reply-to: phodina X-ACL-Warn: , phodina via Guix-patches X-Patchwork-Original-From: phodina via Guix-patches via From: phodina X-getmail-retrieved-from-mailbox: Patches * gnu/packages/crates-io.scm (rust-enumflags2-0.6): New variable. --- 2.32.0 diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 63120038a2..33eb89f945 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -15492,6 +15492,33 @@ instances for enum.") convert enum to u8 slice ref.") (license license:bsd-3))) +(define-public rust-enumflags2-0.6 + (package + (name "rust-enumflags2") + (version "0.6.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "enumflags2" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "182xd6cxxmadx1axnz6x73d12pzgwkc712zq2lxd4z1k48lxij43")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? + #t + #:cargo-inputs + (("rust-enumflags2-derive" + ,rust-enumflags2-derive-0.6) + ("rust-serde" ,rust-serde-1)))) + (home-page + "https://github.com/NieDzejkob/enumflags2") + (synopsis "Enum-based bit flags") + (description "Enum-based bit flags") + (license (list license:expat license:asl2.0)))) + (define-public rust-enumflags2-derive-0.6 (package (name "rust-enumflags2-derive")