From b5a121bddf50309901d73d8469210e81f0ea976b Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Thu, 11 May 2023 17:30:28 +0300 Subject: [PATCH] gnu: Add rust-flagset-0.4. * gnu/packages/crates-io.scm (rust-flagset-0.4): New variable. --- gnu/packages/crates-io.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 542633ad14..fe95c0a644 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -22699,6 +22699,31 @@ (define-public rust-fixedbitset-0.1 (base32 "0czam11mi80dbyhf4rd4lz0ihcf7vkfchrdcrn45wbs0h40dxm46")))))) +(define-public rust-flagset-0.4 + (package + (name "rust-flagset") + (version "0.4.3") + (source (origin + (method url-fetch) + (uri (crate-uri "flagset" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "16alqal1jyg1pibd72drdq2ax5cb1fs09f54ghpw043qg75579nd")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-serde" ,rust-serde-1)) + #:cargo-development-inputs + (("rust-serde-json" ,rust-serde-json-1) + ("rust-serde-repr" ,rust-serde-repr-0.1)))) + (home-page "https://github.com/enarx/flagset") + (synopsis + "Data types and a macro for generating enumeration-based bit flags") + (description "This package provides data types and a macro for generating +enumeration-based bit flags in rust.") + (license license:asl2.0))) + (define-public rust-flame-0.2 (package (name "rust-flame")