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: I7d866d19f0b18a1db4ff5619d3879caf54fb4cd2master
parent
0f25e08a5c
commit
a3fbc139b1
|
@ -10903,8 +10903,30 @@ remote procedure call protocol")
|
||||||
#:cargo-development-inputs
|
#:cargo-development-inputs
|
||||||
(("rust-capnpc" ,rust-capnpc-0.13))))))
|
(("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
|
(define-public rust-capnpc-0.13
|
||||||
(package
|
(package
|
||||||
|
(inherit rust-capnpc-0.19)
|
||||||
(name "rust-capnpc")
|
(name "rust-capnpc")
|
||||||
(version "0.13.1")
|
(version "0.13.1")
|
||||||
(source
|
(source
|
||||||
|
@ -10914,14 +10936,9 @@ remote procedure call protocol")
|
||||||
(file-name (string-append name "-" version ".tar.gz"))
|
(file-name (string-append name "-" version ".tar.gz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "1hbm5xqpam3f0ha5ds39wjmpqpzdalpbrls9wlp7m3slh3p5r1c1"))))
|
(base32 "1hbm5xqpam3f0ha5ds39wjmpqpzdalpbrls9wlp7m3slh3p5r1c1"))))
|
||||||
(build-system cargo-build-system)
|
|
||||||
(arguments
|
(arguments
|
||||||
`(#:skip-build? #t
|
`(#:skip-build? #t
|
||||||
#:cargo-inputs (("rust-capnp" ,rust-capnp-0.13))))
|
#: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)))
|
|
||||||
|
|
||||||
(define-public rust-caps-0.5
|
(define-public rust-caps-0.5
|
||||||
(package
|
(package
|
||||||
|
|
Reference in New Issue