diff options
author | phodina <phodina@protonmail.com> | 2021-09-03 22:49:59 +0000 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2021-09-17 12:24:32 +0200 |
commit | 6c3a169eacf46f21116bcf7b909004b9773cb670 (patch) | |
tree | 76f332e252eff03b8560de656fc81dc1c3c3f2dc /gnu/packages | |
parent | 12f7e53b2bba57dcb1926e8236b6d3bb6b067511 (diff) | |
download | guix-6c3a169eacf46f21116bcf7b909004b9773cb670.tar.gz |
gnu: Add rust-swayipc-2.
* gnu/packages/crates-io.scm (rust-swayipc-2): New variable. Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/crates-io.scm | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index d9eade57a7..8f1338e444 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -47059,6 +47059,32 @@ values without proliferating generics.") ("rust-syn" ,rust-syn-1) ("rust-quote" ,rust-quote-1)))))) +(define-public rust-swayipc-2 + (package + (name "rust-swayipc") + (version "2.7.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "swayipc" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "03r15c2sijyrxmpsyjgma4gz7zmdl1g8akjnjkw6hrml91d5dilj")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; test sync::tests::connect ... FAILED + #:cargo-inputs + (("rust-serde" ,rust-serde-1) + ("rust-async-std" ,rust-async-std-1) + ("rust-swayipc-command-builder" ,rust-swayipc-command-builder-0.1) + ("rust-serde-json" ,rust-serde-json-1)))) + (home-page "https://github.com/jaycefayne/swayipc-rs") + (synopsis "Library for controlling sway through its IPC interface") + (description + "This package provides a library for controlling sway through its IPC +interface.") + (license license:expat))) + (define-public rust-swayipc-command-builder-0.1 (package (name "rust-swayipc-command-builder") |