[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
05/40: gnu: Add rust-hyprland-0.3.
From: |
guix-commits |
Subject: |
05/40: gnu: Add rust-hyprland-0.3. |
Date: |
Sun, 22 Oct 2023 09:40:20 -0400 (EDT) |
efraim pushed a commit to branch master
in repository guix.
commit 8e1be8d903abe799d384bbe64b85461a998f78a9
Author: Aleksandr Vityazev <avityazew@gmail.com>
AuthorDate: Sat Oct 7 03:01:47 2023 +0300
gnu: Add rust-hyprland-0.3.
* gnu/packages/crates-io.scm (rust-hyprland-0.3): New variable.
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
---
gnu/packages/crates-io.scm | 46 ++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 46 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 6563b6f795..3a96f09e17 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -32504,6 +32504,52 @@ with hyper.")
"This package provides a Knuth-Liang hyphenation for a variety of
languages.")
(license (list license:asl2.0 license:expat))))
+(define-public rust-hyprland-0.3
+ (package
+ (name "rust-hyprland")
+ (version "0.3.8")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "hyprland" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0a6ay1cnpmj3v16hs6k65yxdg53wv438i2va5rpgjz9bk8aijhm8"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-test-flags
+ '("--release" "--"
+ ;; Some tests expect hyprland to be running.
+ "--skip=dispatch::Dispatch::call"
+ "--skip=event_listener::mutable::EventListener::new"
+ "--skip=data"
+ "--skip=dispatch")
+ #:cargo-inputs
+ (("rust-async-net" ,rust-async-net-1)
+ ("rust-async-std" ,rust-async-std-1)
+ ("rust-async-trait" ,rust-async-trait-0.1)
+ ("rust-derive-more" ,rust-derive-more-0.99)
+ ("rust-doc-comment" ,rust-doc-comment-0.3)
+ ("rust-futures" ,rust-futures-0.3)
+ ("rust-futures-lite" ,rust-futures-lite-1)
+ ("rust-hex" ,rust-hex-0.4)
+ ("rust-hyprland-macros" ,rust-hyprland-macros-0.3)
+ ("rust-lazy-static" ,rust-lazy-static-1)
+ ("rust-num-traits" ,rust-num-traits-0.2)
+ ("rust-paste" ,rust-paste-1)
+ ("rust-regex" ,rust-regex-1)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-serde-json" ,rust-serde-json-1)
+ ("rust-serde-repr" ,rust-serde-repr-0.1)
+ ("rust-strum" ,rust-strum-0.24)
+ ("rust-tokio" ,rust-tokio-1))))
+ (home-page "https://github.com/hyprland-community/hyprland-rs")
+ (synopsis "An unofficial rust wrapper for Hyprland's IPC")
+ (description
+ "This package provides a unoffical rust wrapper for hyprland's IPC.")
+ (license license:gpl3+)))
+
(define-public rust-hyprland-macros-0.3
(package
(name "rust-hyprland-macros")
- branch master updated (8ca7ccbf0d -> 6d4f4e916a), guix-commits, 2023/10/22
- 03/40: gnu: Add rust-fork-0.1., guix-commits, 2023/10/22
- 05/40: gnu: Add rust-hyprland-0.3.,
guix-commits <=
- 09/40: gnu: Add rust-serde-with-macros-3., guix-commits, 2023/10/22
- 06/40: gnu: Add rust-darling-core-0.20., guix-commits, 2023/10/22
- 14/40: gnu: Add rust-rmp-serde-1., guix-commits, 2023/10/22
- 22/40: gnu: Add rust-wayland-protocols-0.30., guix-commits, 2023/10/22
- 23/40: gnu: Add rust-wayland-protocols-wlr-0.1., guix-commits, 2023/10/22
- 26/40: gnu: Add rust-x11rb-protocol-0.12., guix-commits, 2023/10/22
- 25/40: gnu: Add rust-gethostname-0.3., guix-commits, 2023/10/22
- 31/40: gnu: Add rust-zvariant-derive-2., guix-commits, 2023/10/22
- 29/40: gnu: Add rust-enumflags2-0.6., guix-commits, 2023/10/22
- 17/40: gnu: Add rust-wayland-backend-0.1., guix-commits, 2023/10/22