From 42fa8b75c92f117daa1d5ce9a4f3095980fd020c Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Tue, 9 Feb 2021 22:53:54 +0100 Subject: [PATCH] gnu: Add rust-bitflags-0.2. * gnu/packages/crates-io.scm (rust-bitflags-0.2): New variable. --- gnu/packages/crates-io.scm | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 3501284eaf..155b0bda4a 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -3950,6 +3950,21 @@ (define-public rust-bitflags-0.5 (sha256 (base32 "08qdq5w1nd3hzwsrxk0dxzqv4g8wbwj6v2193njskwzdd09r6rsg")))))) +(define-public rust-bitflags-0.2 + (package + (inherit rust-bitflags-1) + (name "rust-bitflags") + (version "0.2.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "bitflags" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "09yk0lk3vjsrvfcnzljmgvz9inpjs0idykvni7kij38l5vn807x4")))) + (build-system cargo-build-system) + (arguments `(#:skip-build? #t)))) + (define-public rust-bitstream-io-0.8 (package (name "rust-bitstream-io")