[bug#56752,05/27] gnu: Add rust-swayipc-types-1.
Commit Message
* gnu/packages/crates-io.scm (rust-swayipc-types-1): New variable.
---
gnu/packages/crates-io.scm | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
Comments
On 24-07-2022 23:33, Aleksandr Vityazev wrote:
> + (package
> + (name "rust-swayipc-types")
> + (version "1.1.0")
> + (source
> + (origin
> + (method url-fetch)
> + (uri (crate-uri "swayipc-types" version))
> + (file-name (string-append name "-" version ".tar.gz"))
> + (sha256
> + (base32
> + "11p2jj081f7bw2rc6xqvw3y8bdraqqrmm3vsvq5mx7ds00r35jiq"))))
> + (build-system cargo-build-system)
> + (arguments
> + `(#:skip-build? #t
> + #:cargo-inputs
> + (("rust-serde" ,rust-serde-1)
> + ("rust-serde-json" ,rust-serde-json-1)
> + ("rust-thiserror" ,rust-thiserror-1))))
Warning: this is one of those overly picky packages that pin the minor
version of rust-serde & rust-serde-json & rust-thiserror, you will have
to patch the Cargo.toml to relax it a bit, otherwise it will break with
future updates to rust-swayipc-types. Alternatively, you can wait for
antioxidant.
Greetings,
Maxime.
On 24-07-2022 23:37, Maxime Devos wrote:
> Warning: this is one of those overly picky packages that pin the minor
> version of rust-serde & rust-serde-json & rust-thiserror, you will
> have to patch the Cargo.toml to relax it a bit, otherwise it will
> break with future updates to rust-swayipc-types. Alternatively, you
> can wait for antioxidant.
(Also check for the other packages)
@@ -60064,6 +60064,32 @@ (define-public rust-swayipc-command-builder-0.1
executed by swayipc.")
(license license:expat)))
+(define-public rust-swayipc-types-1
+ (package
+ (name "rust-swayipc-types")
+ (version "1.1.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "swayipc-types" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "11p2jj081f7bw2rc6xqvw3y8bdraqqrmm3vsvq5mx7ds00r35jiq"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-serde" ,rust-serde-1)
+ ("rust-serde-json" ,rust-serde-json-1)
+ ("rust-thiserror" ,rust-thiserror-1))))
+ (home-page "https://github.com/jaycefayne/swayipc-rs")
+ (synopsis "Library containing Type defintions from sway's IPC interface")
+ (description
+ "This package provides a library containing Type defintions from sway's IPC
+interface.")
+ (license license:expat)))
+
(define-public rust-swc-1
(package
(name "rust-swc")