aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2024-03-31 20:45:28 +0300
committerEfraim Flashner <efraim@flashner.co.il>2024-07-19 00:46:05 +0300
commita3fbc139b1258fe3f8115f1f430963149801efdf (patch)
treea27068774f0b4d0418f894ab05729c101bbdf9a1 /gnu/packages
parent0f25e08a5ccd45f409fd9f76620478bf9f0b2a77 (diff)
downloadguix-a3fbc139b1258fe3f8115f1f430963149801efdf.tar
guix-a3fbc139b1258fe3f8115f1f430963149801efdf.tar.gz
gnu: Add rust-capnpc-0.19.
* gnu/packages/crates-io.scm (rust-capnpc-0.19): New variable. (rust-capnpc-0.13): Inherit from rust-capnpc-0.19. Change-Id: I7d866d19f0b18a1db4ff5619d3879caf54fb4cd2
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/crates-io.scm29
1 files changed, 23 insertions, 6 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 644541834b..3b892c7eaf 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -10903,26 +10903,43 @@ remote procedure call protocol")
#:cargo-development-inputs
(("rust-capnpc" ,rust-capnpc-0.13))))))
-(define-public rust-capnpc-0.13
+(define-public rust-capnpc-0.19
(package
(name "rust-capnpc")
- (version "0.13.1")
+ (version "0.19.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "capnpc" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "1hbm5xqpam3f0ha5ds39wjmpqpzdalpbrls9wlp7m3slh3p5r1c1"))))
+ (base32 "1v49w7zsv4bkdn88dfmi2hk5dzv5pgs0qwgkq99jsn081w7a6ny7"))))
(build-system cargo-build-system)
(arguments
- `(#:skip-build? #t
- #:cargo-inputs (("rust-capnp" ,rust-capnp-0.13))))
+ `(#:cargo-test-flags '("--release" "--"
+ "--skip=compiler_command_new_no_out_dir")
+ #:cargo-inputs (("rust-capnp" ,rust-capnp-0.19))))
(home-page "https://github.com/capnproto/capnproto-rust")
(synopsis "Cap'n Proto code generation")
- (description "Cap'n Proto code generation")
+ (description "Cap'n Proto code generation.")
(license license:expat)))
+(define-public rust-capnpc-0.13
+ (package
+ (inherit rust-capnpc-0.19)
+ (name "rust-capnpc")
+ (version "0.13.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "capnpc" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1hbm5xqpam3f0ha5ds39wjmpqpzdalpbrls9wlp7m3slh3p5r1c1"))))
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs (("rust-capnp" ,rust-capnp-0.13))))))
+
(define-public rust-caps-0.5
(package
(name "rust-caps")