[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
24/33: gnu: Add rust-thread-priority-0.10.
From: |
guix-commits |
Subject: |
24/33: gnu: Add rust-thread-priority-0.10. |
Date: |
Wed, 25 Oct 2023 05:36:45 -0400 (EDT) |
efraim pushed a commit to branch rust-team
in repository guix.
commit 1db71a9d7292323fbbbd7ac64111736796b9ba48
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Wed Oct 25 09:57:38 2023 +0300
gnu: Add rust-thread-priority-0.10.
* gnu/packages/crates-io.scm (rust-thread-priority-0.10): New variable.
(rust-thread-priority-0.4): Inherit from rust-thread-priority-0.10.
Change-Id: I17411589ae129ffe3805668dc342408d00c020cb
---
gnu/packages/crates-io.scm | 34 +++++++++++++++++++++++++++-------
1 file changed, 27 insertions(+), 7 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 97a385d6ef..4061a0fc1d 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -76456,8 +76456,34 @@ different for every thread.")
`(#:cargo-inputs
(("rust-thread-id" ,rust-thread-id-2))))))
+(define-public rust-thread-priority-0.10
+ (package
+ (name "rust-thread-priority")
+ (version "0.10.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "thread-priority" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0w9vrpkdlig1mrdxlz14815bgad3nm5dm22bjqpkb4b89jp1k1cp"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:tests? #f ; TODO: Figure out why many tests fail.
+ #:cargo-inputs (("rust-cfg-if" ,rust-cfg-if-1)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-winapi" ,rust-winapi-0.3))
+ #:cargo-development-inputs (("rust-rstest" ,rust-rstest-0.13))))
+ (home-page "https://github.com/vityafx/thread-priority")
+ (synopsis "Library for managing threads priority and schedule policies")
+ (description
+ "Library for managing threads priority and schedule policies.")
+ (license license:expat)))
+
(define-public rust-thread-priority-0.4
(package
+ (inherit rust-thread-priority-0.10)
(name "rust-thread-priority")
(version "0.4.1")
(source
@@ -76467,18 +76493,12 @@ different for every thread.")
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1ccidjv5ra017knav1h34bzlscpx856fhz7kln3zhszh3jpr8qqg"))))
- (build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
(("rust-libc" ,rust-libc-0.2)
("rust-log" ,rust-log-0.4)
- ("rust-winapi" ,rust-winapi-0.3))))
- (home-page "https://github.com/vityafx/thread-priority")
- (synopsis "Library for managing threads priority and schedule policies")
- (description
- "Library for managing threads priority and schedule policies.")
- (license license:expat)))
+ ("rust-winapi" ,rust-winapi-0.3))))))
(define-public rust-thread-tree-0.3
(package
- 18/33: gnu: Add rust-open-3., (continued)
- 18/33: gnu: Add rust-open-3., guix-commits, 2023/10/25
- 20/33: gnu: Add rust-rstest-0.13., guix-commits, 2023/10/25
- 17/33: gnu: Add rust-lru-0.9., guix-commits, 2023/10/25
- 27/33: gnu: Add rust-sqlite3-sys-0.15., guix-commits, 2023/10/25
- 26/33: gnu: Add rust-tokio-uring-0.4., guix-commits, 2023/10/25
- 30/33: gnu: alfis: Update to 0.8.4., guix-commits, 2023/10/25
- 22/33: gnu: Add rust-simplelog-0.12., guix-commits, 2023/10/25
- 32/33: gnu: rust-proptest-derive-0.1: Skip tests., guix-commits, 2023/10/25
- 33/33: gnu: rust-git2-0.9: Update to 0.9.2., guix-commits, 2023/10/25
- 23/33: gnu: Add rust-temporary-0.6., guix-commits, 2023/10/25
- 24/33: gnu: Add rust-thread-priority-0.10.,
guix-commits <=
- 28/33: gnu: Add rust-sqlite3-src-0.5., guix-commits, 2023/10/25
- 21/33: gnu: Add rust-sc-0.2., guix-commits, 2023/10/25