From 1a5b4f011fe95194b3556f1d7395ff8c95f6c35a Mon Sep 17 00:00:00 2001 From: Declan Tsien Date: Thu, 6 Oct 2022 08:38:16 +0800 Subject: [PATCH 02/13] gnu: Add rust-byteorder-0.3. * gnu/packages/crates-io.scm (rust-byteorder-0.3): New variable. --- gnu/packages/crates-io.scm | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 9a64b356b5..9639a2ae9f 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -9229,6 +9229,27 @@ (define-public rust-byteorder-0.5 (("rust-quickcheck" ,rust-quickcheck-0.2) ("rust-rand" ,rust-rand-0.3)))))) +(define-public rust-byteorder-0.3 + (package + (name "rust-byteorder") + (version "0.3.13") + (source (origin + (method url-fetch) + (uri (crate-uri "byteorder" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0xd1vzp1yzw9f9qpm7w3mp9kqxdxwrwzqs4d620n6m4g194smci9")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t)) + (home-page "https://github.com/BurntSushi/byteorder") + (synopsis + "Library for reading/writing numbers in big-endian and little-endian.") + (description + "Library for reading/writing numbers in big-endian and little-endian.") + (license (list license:unlicense license:expat)))) + (define-public rust-bytes-1 (package (name "rust-bytes") -- 2.37.3