me
/
guix
Archived
1
0
Fork 0

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
master
Efraim Flashner 2024-03-31 20:45:28 +03:00
parent 0f25e08a5c
commit a3fbc139b1
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351
1 changed files with 23 additions and 6 deletions

View File

@ -10903,8 +10903,30 @@ remote procedure call protocol")
#:cargo-development-inputs
(("rust-capnpc" ,rust-capnpc-0.13))))))
(define-public rust-capnpc-0.19
(package
(name "rust-capnpc")
(version "0.19.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "capnpc" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1v49w7zsv4bkdn88dfmi2hk5dzv5pgs0qwgkq99jsn081w7a6ny7"))))
(build-system cargo-build-system)
(arguments
`(#: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.")
(license license:expat)))
(define-public rust-capnpc-0.13
(package
(inherit rust-capnpc-0.19)
(name "rust-capnpc")
(version "0.13.1")
(source
@ -10914,14 +10936,9 @@ remote procedure call protocol")
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1hbm5xqpam3f0ha5ds39wjmpqpzdalpbrls9wlp7m3slh3p5r1c1"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs (("rust-capnp" ,rust-capnp-0.13))))
(home-page "https://github.com/capnproto/capnproto-rust")
(synopsis "Cap'n Proto code generation")
(description "Cap'n Proto code generation")
(license license:expat)))
#:cargo-inputs (("rust-capnp" ,rust-capnp-0.13))))))
(define-public rust-caps-0.5
(package