[PATCH] gnu: Add rust-heim-common-0.1.0.

  • Open
  • quality assurance status badge
Details
3 participants
  • Efraim Flashner
  • Artyom V. Poptsov
  • Sharlatan Hellseher
Owner
unassigned
Submitted by
Artyom V. Poptsov
Severity
normal
A
A
Artyom V. Poptsov wrote on 9 Jun 2023 19:27
(address . guix-patches@gnu.org)
87r0qkbl71.fsf@gmail.com
Hello,

this patch series adds "rust-heim-common"[1] and the related packages.
From 151cede3dba70dbcf0e95bbadff0da80dd7a2d07 Mon Sep 17 00:00:00 2001
Message-Id: <151cede3dba70dbcf0e95bbadff0da80dd7a2d07.1686331576.git.poptsov.artyom@gmail.com>
From: "Artyom V. Poptsov" <poptsov.artyom@gmail.com>
Date: Fri, 9 Jun 2023 20:20:23 +0300
Subject: [PATCH 1/3] gnu: Add rust-uom-0.30.

* gnu/packages/crates-io.scm (rust-uom-0.30): New variable.
---
gnu/packages/crates-io.scm | 13 +++++++++++++
1 file changed, 13 insertions(+)

Toggle diff (28 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 3877f6c977..a9b23ad104 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -14338,6 +14338,19 @@ (define-public rust-uom-0.34
mile, ...).")
(license (list license:expat license:asl2.0))))
+(define-public rust-uom-0.30
+ (package
+ (inherit rust-uom-0.34)
+ (name "rust-uom")
+ (version "0.30.0")
+ (source (origin
+ (method url-fetch)
+ (uri (crate-uri "uom" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1vg59hnb7hh0p8kjjhgmrsnn3597722lkfdkp481wksq6vk06rg7"))))))
+
(define-public rust-crates-index-0.18
(package
(name "rust-crates-index")

base-commit: 44bbfc24e4bcc48d0e3343cd3d83452721af8c36
--
2.34.1
From caf9bfac68f2d0903429ad4ac385f0bc015ffbe6 Mon Sep 17 00:00:00 2001
Message-Id: <caf9bfac68f2d0903429ad4ac385f0bc015ffbe6.1686331576.git.poptsov.artyom@gmail.com>
In-Reply-To: <151cede3dba70dbcf0e95bbadff0da80dd7a2d07.1686331576.git.poptsov.artyom@gmail.com>
References: <151cede3dba70dbcf0e95bbadff0da80dd7a2d07.1686331576.git.poptsov.artyom@gmail.com>
From: "Artyom V. Poptsov" <poptsov.artyom@gmail.com>
Date: Fri, 9 Jun 2023 20:21:30 +0300
Subject: [PATCH 2/3] gnu: Add rust-mach-0.3.2.

* gnu/packages/crates-io.scm (rust-mach-0.3.2): New variable.
---
gnu/packages/crates-io.scm | 13 +++++++++++++
1 file changed, 13 insertions(+)

Toggle diff (26 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index a9b23ad104..4faf5cd61d 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -34166,6 +34166,19 @@ (define-public rust-mach-0.3
Mach 3.0 kernel that underlies OSX.")
(license (list license:asl2.0 license:expat license:bsd-2))))
+(define-public rust-mach-0.3.2
+ (package
+ (inherit rust-mach-0.3)
+ (name "rust-mach")
+ (version "0.3.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "mach" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1yksa8lwzqh150gr4417rls1wk20asy9vhp8kq5g9n7z58xyh8xq"))))))
+
(define-public rust-mach-0.2
(package
(inherit rust-mach-0.3)
--
2.34.1
From d9df27b1fe71860190753fe4d7724f000db98483 Mon Sep 17 00:00:00 2001
Message-Id: <d9df27b1fe71860190753fe4d7724f000db98483.1686331576.git.poptsov.artyom@gmail.com>
In-Reply-To: <151cede3dba70dbcf0e95bbadff0da80dd7a2d07.1686331576.git.poptsov.artyom@gmail.com>
References: <151cede3dba70dbcf0e95bbadff0da80dd7a2d07.1686331576.git.poptsov.artyom@gmail.com>
From: "Artyom V. Poptsov" <poptsov.artyom@gmail.com>
Date: Fri, 9 Jun 2023 20:22:37 +0300
Subject: [PATCH 3/3] gnu: Add rust-heim-common-0.1.0.

* gnu/packages/crates-io.scm (rust-heim-common-0.1.0): New variable.
---
gnu/packages/crates-io.scm | 36 ++++++++++++++++++++++++++++++++++++
1 file changed, 36 insertions(+)

Toggle diff (49 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 4faf5cd61d..5c0e93bb3f 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -14351,6 +14351,42 @@ (define-public rust-uom-0.30
(base32
"1vg59hnb7hh0p8kjjhgmrsnn3597722lkfdkp481wksq6vk06rg7"))))))
+(define-public rust-heim-common-0.1.0
+ (package
+ (name "rust-heim-common")
+ (version "0.1.0-rc.1")
+ (source (origin
+ (method url-fetch)
+ (uri (crate-uri "heim-common" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0d2qfrhj8j36s6v6j0msq3ck038q5zw4vfsyk9ybx2pqgkjfcryp"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-uom" ,rust-uom-0.30)
+ ("rust-cfg-if" ,rust-cfg-if-1)
+ ("rust-core-foundation" ,rust-core-foundation-0.7)
+ ("rust-futures-core" ,rust-futures-core-0.3)
+ ("rust-lazy-static" ,rust-lazy-static-1)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-nix" ,rust-nix-0.19)
+ ("rust-pin-utils" ,rust-pin-utils-0.1)
+ ("rust-winapi" ,rust-winapi-0.3)
+ ("rust-mach" ,rust-mach-0.3.2))
+ #:cargo-development-inputs (("rust-version-sync" ,rust-version-sync-0.8)
+ ("rust-futures-executor" ,rust-futures-executor-0.3))))
+ (home-page "https://github.com/heim-rs/heim")
+ (synopsis "Async library for system information fetching")
+ (description
+ "@code{heim} is an ongoing attempt to create the best tool for system
+information fetching (for example: CPU, memory, disks or processes stats) in the Rust
+crates ecosystem.
+
+This package contains the common code for other @code{heim} packages and must not be
+used directly.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-crates-index-0.18
(package
(name "rust-crates-index")
--
2.34.1
Thanks,
- avp

References:

--
Artyom "avp" Poptsov <poptsov.artyom@gmail.com>
CADR Hackerspace co-founder: https://cadrspace.ru/
GPG: D0C2 EAC1 3310 822D 98DE B57C E9C5 A2D9 0898 A02F
-----BEGIN PGP SIGNATURE-----

iQFNBAEBCgA3FiEE0MLqwTMQgi2Y3rV86cWi2QiYoC8FAmSDYPIZHHBvcHRzb3Yu
YXJ0eW9tQGdtYWlsLmNvbQAKCRDpxaLZCJigL7A6B/wKI/bwiwos3a976JT4CtXZ
xMs8ZoCzuUXIEklFvSlzjggL3+IM0pdbjLSIZM1s1X0p0Gd8gSoN8BCLPiuPEgLK
wmeYPSzMOd+FGXtQPRarRfYjJiRnBvBsMMuXgYceVI1g0BmmTm/oJ6Geax35xSsi
wNcBB/oL08YOndSMwqyj6rg5xv/dM31pJDenU6WZTazr5KCxeMXW0byKDz+o56Mb
Ag9Grc7l4ylL433H8S3Vgh0AqzSuudWgnddQTSqul2KfMbb/kgFEwIcBBLFDAAQd
Gj+KpQYDaQUFPGjycH1e44PjOZJPzJrQtfqiVd4eyqQo1X0xruMpn/On7Fd9w5xe
=o6SP
-----END PGP SIGNATURE-----

S
S
Sharlatan Hellseher wrote on 5 Feb 20:23 +0100
(address . 63983@debbugs.gnu.org)(name . Efraim Flashner)(address . efraim@flashner.co.il)
CAO+9K5r+bV2zD=XX_LRjpO1FSw8pZhzw-UL4gi6E0iZdq63u3Q@mail.gmail.com
Hi Efrain,

Which flow do you use for any new Rust packages e.g.
merge to rust-team first or master would be ok?

Thanks,
Oleg
Attachment: file
E
E
Efraim Flashner wrote on 7 Feb 16:15 +0100
(name . Sharlatan Hellseher)(address . sharlatanus@gmail.com)(address . 63983@debbugs.gnu.org)
ZcOedlS7POvgzMyx@3900XT
On Mon, Feb 05, 2024 at 07:23:20PM +0000, Sharlatan Hellseher wrote:
Toggle quote (5 lines)
> Hi Efrain,
>
> Which flow do you use for any new Rust packages e.g.
> merge to rust-team first or master would be ok?

I normally add them to the rust-team branch first since they often end
up needing to update some of the other packages already there.

It looks like this one slipped through the cracks during the summer.
I'm not exactly sure what to do with these patches, I'd adjust
rust-heim-common to accept any newer rust-mach-0.3, but rust-heim-common
by itself isn't a normal 'leaf package' that we'd add.

--
Efraim Flashner <efraim@flashner.co.il> ????? ?????
GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
-----BEGIN PGP SIGNATURE-----

iQIzBAABCAAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAmXDnnMACgkQQarn3Mo9
g1H54BAAnCBqd4U8XSFzuPicKBObGgKXgUyKGVyvLs/ZXPx39zqIClzVK4H+wDuN
ItlxBo4cDwRI/IBi1YT4T04WWmfixdeqxW4Q5Y01LnK1QzoHBmSbPfUy4qkL85Sf
DDbpTZtu9bOkFvmiGYe1E0QFRoLxAElymNH2qv25i9XyrHdOjn+BmU0UcBHWcJZK
utS5QQSncYkImH6tplNuLoqLC01S20fMM957yvwumXZfFJ4IZjn86QWmKRNv2dNz
q8FZS3c7WxkBOfMuWB6kzNfLBfZqc4FbAmBGu7Uj6PMB4NVH2iZnUsHDfIyA8xxu
QLOI/0WvdlTJLpW5aX3dC/ZdwdnP5Lp0CzrVjcWpnYdkWnAlTxZqjT2QCcRgAdqW
oy/W5l6YXINjYjFPR49tyC5IJSMbWWXkQ2DfmSKFgACRfeJWJzpTXyp0was3dQcw
CRoUdP99EMyKWpFWaym6N9CH8Ew91djdQpk7JLV2aFyunIrwRcP7WQmjk6ZPaDvA
G/VkRTBtZAzhIIaz/w5KYy1cnAJct26KLKPUlu2CZvIHrZN03hvsW3yhRnNroTwj
hTkQgh7ARfppcLxWYX5g3hD/OzgGtaUQgF54xItXoE74mix4irY3BfOVDL8xTifR
VH5RHMJF6PFhJVMUbt5FvSpBqgv0QmnjvrU1600RoSAnVHsbbfU=
=up/r
-----END PGP SIGNATURE-----


?
Your comment

Commenting via the web interface is currently disabled.

To comment on this conversation send an email to 63983@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 63983
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch