Subject: Re: [bug#56752] [PATCH 05/27] gnu: Add rust-swayipc-types-1.

From: Maxime Devos <[email-masked]>
Date: Sun, 24 Jul 2022 23:37:43 +0200

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.