[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#69257] [PATCH 135/228] gnu: Add rust-konst-0.3.
From: |
Herman Rimm |
Subject: |
[bug#69257] [PATCH 135/228] gnu: Add rust-konst-0.3. |
Date: |
Sun, 18 Feb 2024 22:08:25 +0100 |
* gnu/packages/crates-io.scm (rust-konst-0.3): Add variable.
(rust-konst-0.2): Move and inherit from rust-konst-0.3.
Change-Id: I74632d7cd34a03e28b6dfdc2a77f222338fea935
---
gnu/packages/crates-io.scm | 68 ++++++++++++++++++++++++--------------
1 file changed, 44 insertions(+), 24 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 706b48e8cc..8f15fdfba6 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -29414,30 +29414,6 @@ (define-public rust-koibumi-base32-0.0.2
(description "This package provides a Base32 encoder/decoder library.")
(license license:gpl3+)))
-(define-public rust-konst-0.2
- (package
- (name "rust-konst")
- (version "0.2.19")
- (source
- (origin
- (method url-fetch)
- (uri (crate-uri "konst" version))
- (file-name (string-append name "-" version ".tar.gz"))
- (sha256
- (base32 "1x3lxxk9vjaiiaabngv7ki2bv9xi36gnqzjzi0s8qfs8wq9hw3rk"))))
- (build-system cargo-build-system)
- (arguments
- `(#:cargo-inputs (("rust-konst-macro-rules" ,rust-konst-macro-rules-0.2)
- ("rust-konst-proc-macros" ,rust-konst-proc-macros-0.2)
- ("rust-trybuild" ,rust-trybuild-1))
- #:cargo-development-inputs (("rust-rand" ,rust-rand-0.8))))
- (home-page "https://github.com/rodrimati1992/konst/")
- (synopsis
- "Const equivalents of std functions, compile-time comparison, and
parsing")
- (description
- "Const equivalents of std functions, compile-time comparison, and
parsing.")
- (license license:zlib)))
-
(define-public rust-human-format-1
(package
(name "rust-human-format")
@@ -33070,6 +33046,50 @@ (define-public rust-khronos-api-3
"The Khronos XML API Registry, exposed as byte string constants.")
(license license:asl2.0)))
+(define-public rust-konst-0.3
+ (package
+ (name "rust-konst")
+ (version "0.3.8")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "konst" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1c7xjlryaac1j6ib30lq2hyi8g2zrdl17xjwia6ly9yl9662lwcd"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-const-panic" ,rust-const-panic-0.2)
+ ("rust-konst-kernel" ,rust-konst-kernel-0.3)
+ ("rust-konst-proc-macros" ,rust-konst-proc-macros-0.3)
+ ("rust-trybuild" ,rust-trybuild-1)
+ ("rust-typewit" ,rust-typewit-1))
+ #:cargo-development-inputs (("rust-rand" ,rust-rand-0.8))))
+ (home-page "https://github.com/rodrimati1992/konst/")
+ (synopsis "Const std functions, compile-time comparison and parsing")
+ (description
+ "This package provides Const equivalents of std functions, compile-
+time comparison, and parsing.")
+ (license license:zlib)))
+
+(define-public rust-konst-0.2
+ (package
+ (inherit rust-konst-0.3)
+ (name "rust-konst")
+ (version "0.2.19")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "konst" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1x3lxxk9vjaiiaabngv7ki2bv9xi36gnqzjzi0s8qfs8wq9hw3rk"))))
+ (arguments
+ `(#:cargo-inputs (("rust-konst-macro-rules" ,rust-konst-macro-rules-0.2)
+ ("rust-konst-proc-macros" ,rust-konst-proc-macros-0.2)
+ ("rust-trybuild" ,rust-trybuild-1))
+ #:cargo-development-inputs (("rust-rand" ,rust-rand-0.8))))))
+
(define-public rust-konst-kernel-0.3
(package
(name "rust-konst-kernel")
--
2.41.0
- [bug#69257] [PATCH 143/228] gnu: Add rust-wildmatch-2., (continued)
- [bug#69257] [PATCH 143/228] gnu: Add rust-wildmatch-2., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 145/228] gnu: Add rust-ruma-common-0.12., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 132/228] gnu: Add rust-const-panic-proc-macros-0.2., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 139/228] gnu: Add rust-ruma-identifiers-validation-0.9., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 141/228] gnu: Place rust-wl-clipboard-rs-0.4 in alphabetical order., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 147/228] gnu: Add rust-ruma-html-0.1., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 148/228] gnu: Add rust-ruma-events-0.27., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 150/228] gnu: Add rust-ruma-federation-api-0.8., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 152/228] gnu: Add rust-ruma-push-gateway-api-0.8., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 153/228] gnu: Add rust-yap-0.12., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 135/228] gnu: Add rust-konst-0.3.,
Herman Rimm <=
- [bug#69257] [PATCH 156/228] gnu: Move rust-fiat-crypto-0.1., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 117/228] gnu: Add rust-rust-ini-0.18., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 161/228] gnu: Add rust-strobe-rs-0.8., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 157/228] gnu: Add rust-fiat-crypto-0.2., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 167/228] gnu: Add rust-macro-attr-0.2., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 162/228] gnu: Add rust-strobe-rs-0.5., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 165/228] gnu: Add rust-ed25519-2., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 179/228] gnu: Add rust-pkcs7-0.4., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 187/228] gnu: Add rust-web-time-1., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 170/228] gnu: Add rust-ruma-client-api-0.17., Herman Rimm, 2024/02/18