unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#63983] [PATCH] gnu: Add rust-heim-common-0.1.0.
@ 2023-06-09 17:27 Artyom V. Poptsov
  2024-02-05 19:23 ` Sharlatan Hellseher
  0 siblings, 1 reply; 3+ messages in thread
From: Artyom V. Poptsov @ 2023-06-09 17:27 UTC (permalink / raw)
  To: 63983


[-- Attachment #1.1: Type: text/plain, Size: 79 bytes --]

Hello,

this patch series adds "rust-heim-common"[1] and the related packages.

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1.2: 0001-gnu-Add-rust-uom-0.30.patch --]
[-- Type: text/x-diff, Size: 1350 bytes --]

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(+)

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


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1.3: 0002-gnu-Add-rust-mach-0.3.2.patch --]
[-- Type: text/x-diff, Size: 1473 bytes --]

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(+)

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


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1.4: 0003-gnu-Add-rust-heim-common-0.1.0.patch --]
[-- Type: text/x-diff, Size: 2881 bytes --]

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(+)

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


[-- Attachment #1.5: Type: text/plain, Size: 283 bytes --]


Thanks,
- avp

References:
1. https://crates.io/crates/heim-common

-- 
Artyom "avp" Poptsov <poptsov.artyom@gmail.com>
Home page: https://memory-heap.org/~avp/
CADR Hackerspace co-founder: https://cadrspace.ru/
GPG: D0C2 EAC1 3310 822D 98DE  B57C E9C5 A2D9 0898 A02F


[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 519 bytes --]

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-02-07 15:16 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-06-09 17:27 [bug#63983] [PATCH] gnu: Add rust-heim-common-0.1.0 Artyom V. Poptsov
2024-02-05 19:23 ` Sharlatan Hellseher
2024-02-07 15:15   ` Efraim Flashner

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).