summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorWilko Meyer <w@wmeyer.eu>2024-01-08 02:54:01 +0100
committerEfraim Flashner <efraim@flashner.co.il>2024-02-20 13:57:53 +0200
commit4010d5757120d6c689bcb84433c4b836633aa6a2 (patch)
tree1178fbb856c8d372537b67d5bf6a09ad942f0c02 /gnu
parent5d033ac47a2db28c7032809b11e3d44cd3ac611c (diff)
gnu: Add rust-typed-builder-0.18.
* gnu/packages/crates-io.scm (rust-typed-builder-0.18): New variable. (rust-typed-builder-0.5): Inherit from rust-typed-builder-0.18. Change-Id: I7330dcbace082c38986161e7bccac17b774e29e3 Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-io.scm29
1 files changed, 22 insertions, 7 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 856b7b2ec4..678bba9de7 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -80838,8 +80838,29 @@ strings.")
(build-system cargo-build-system)
(arguments `(#:skip-build? #t))))
+(define-public rust-typed-builder-0.18
+ (package
+ (name "rust-typed-builder")
+ (version "0.18.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "typed-builder" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "12pkf3h3hahfqm8g6k3kl2qicl346szqq24qa74vfqcq2jb08z74"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-typed-builder-macro" ,rust-typed-builder-macro-0.18))))
+ (home-page "https://github.com/idanarye/rust-typed-builder")
+ (synopsis "Compile-time type-checked builder derive")
+ (description
+ "This package provides compile-time type-checked builder derive.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-typed-builder-0.5
(package
+ (inherit rust-typed-builder-0.18)
(name "rust-typed-builder")
(version "0.5.1")
(source
@@ -80849,18 +80870,12 @@ strings.")
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1zi9mmkz2vwg5cn8x9738vli42h21jyspvfi83y2sa6lvlja5kkq"))))
- (build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
(("rust-proc-macro2" ,rust-proc-macro2-1)
("rust-quote" ,rust-quote-1)
- ("rust-syn" ,rust-syn-1))))
- (home-page "https://github.com/idanarye/rust-typed-builder")
- (synopsis "Compile-time type-checked builder derive")
- (description
- "This package provides compile-time type-checked builder derive.")
- (license (list license:expat license:asl2.0))))
+ ("rust-syn" ,rust-syn-1))))))
(define-public rust-typed-builder-macro-0.18
(package