guix_mirror_bot pushed a commit to branch master
in repository guix.
commit a25014dda385d15d446ac9d6d58c463c43cfc16f
Author: Giacomo Leidi <[email protected]>
AuthorDate: Fri Jan 2 21:07:10 2026 +0100
gnu: Add python-linux-procfs.
* gnu/packages/file-systems.scm (python-linux-procfs): New variable.
Change-Id: I039d4f898e40a968d7fac0624ce4207c10155761
---
gnu/packages/file-systems.scm | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
diff --git a/gnu/packages/file-systems.scm b/gnu/packages/file-systems.scm
index f04a33f8fa..44574e2747 100644
--- a/gnu/packages/file-systems.scm
+++ b/gnu/packages/file-systems.scm
@@ -19,6 +19,7 @@
;;; Copyright © 2020-2025 Maxim Cournoyer <[email protected]>
;;; Copyright © 2025 45mg <[email protected]>
;;; Copyright © 2025 Janneke Nieuwenhuizen <[email protected]>
+;;; Copyright © 2026 Giacomo Leidi <[email protected]>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -2057,6 +2058,35 @@ compatible directories.")
local file system using FUSE.")
(license license:gpl3+)))
+(define-public python-linux-procfs
+ (package
+ (name "python-linux-procfs")
+ (version "0.7.4")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url (string-append "https://git.kernel.org/pub/scm/libs/python/"
+ "python-linux-procfs/python-linux-procfs"))
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "09409sjncz7n9m2ia5nfzy10q7c23dvpgjdkc3j9bjs4f5hvc9aq"))))
+ (build-system pyproject-build-system)
+ (native-inputs
+ (list python-setuptools
+ python-setuptools-scm))
+ (home-page
+ (string-append "https://git.kernel.org/pub/scm/libs/python/"
+ "python-linux-procfs/python-linux-procfs.git/"))
+ (synopsis
+ "Python abstractions to extract information from @code{/proc} files")
+ (description
+ "The proc filesystem is a pseudo-filesystem which provides an interface to
+kernel data structures. This package provides a means to query that system
from
+a Python module. See @code{proc(5)} for more details.")
+ (license license:gpl2)))
+
(define-public rewritefs
(let ((revision "1")
(commit "3a56de8b5a2d44968b8bc3885c7d661d46367306"))