guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

04/45: gnu: Add rust-bitflags-1.1.


From: guix-commits
Subject: 04/45: gnu: Add rust-bitflags-1.1.
Date: Wed, 23 Oct 2019 03:49:11 -0400 (EDT)

efraim pushed a commit to branch master
in repository guix.

commit b249da1ddf78366002b45ef3e748156617301526
Author: Efraim Flashner <address@hidden>
Date:   Wed Oct 23 09:43:56 2019 +0300

    gnu: Add rust-bitflags-1.1.
    
    * gnu/packages/rust-cbindgen.scm (rust-bitflags-1.1): New hidden
    variable.
---
 gnu/packages/rust-cbindgen.scm | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/gnu/packages/rust-cbindgen.scm b/gnu/packages/rust-cbindgen.scm
index 35bc6b0..6cc5882 100644
--- a/gnu/packages/rust-cbindgen.scm
+++ b/gnu/packages/rust-cbindgen.scm
@@ -85,3 +85,24 @@ support.")
     (properties '((hidden? . #t)))
     (license (list license:asl2.0
                    license:expat))))
+
+(define rust-bitflags-1.1
+  (package
+    (name "rust-bitflags")
+    (version "1.1.0")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "bitflags" version))
+        (file-name (string-append name "-" version ".crate"))
+        (sha256
+         (base32
+          "1zc1qb1hwsnl2d8rhzicsv9kqd5b2hwbrscrcfw5as4sfr35659x"))))
+    (build-system cargo-build-system)
+    (home-page "https://github.com/bitflags/bitflags";)
+    (synopsis "Macro to generate structures which behave like bitflags")
+    (description "This package provides a macro to generate structures which
+behave like a set of bitflags.")
+    (properties '((hidden? . #t)))
+    (license (list license:asl2.0
+                   license:expat))))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]