From d3df03367013b8b248a1f438657a434e389303eb Mon Sep 17 00:00:00 2001 From: msglm Date: Wed, 13 Mar 2024 05:44:04 -0500 Subject: add rust-bitflags --- unlustig.scm | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) (limited to 'unlustig.scm') diff --git a/unlustig.scm b/unlustig.scm index 64d7254..39a8c54 100644 --- a/unlustig.scm +++ b/unlustig.scm @@ -356,6 +356,44 @@ right with surrounding punctuation like parentheses.") "The Khronos XML API Registry, exposed as byte string constants.") (license asl2.0))) +(define-public rust-bitflags-0.3 + (package + (name "rust-bitflags") + (version "0.3.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "bitflags" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "171qfyjn5z86z6i5jynpwmwf03m8n6hql5di3n5l6kiw216nz1ij")))) + (build-system cargo-build-system) + (home-page "https://github.com/bitflags/bitflags") + (synopsis "A macro to generate structures which behave like bitflags. +") + (description + "This package provides a macro to generate structures which behave like bitflags.") + (license (list expat asl2.0)))) + +(define-public rust-xml-rs-0.2 + (package + (name "rust-xml-rs") + (version "0.2.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "xml-rs" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1gwy8hny2643j2yxpkcs3n4gxbfhxk72wgz06cfxf0ps6kwk8z0d")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-0.3)))) + (home-page "https://lib.rs/crates/xml-rs") + (synopsis "An XML library in pure Rust") + (description "An XML library in pure Rust") + (license expat))) + (define-public rust-gl-generator-0.4 (package (name "rust-gl-generator") -- cgit v1.2.3