summaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorGiacomo Leidi <therewasa@fishinthecalculator.me>2026-01-02 21:07:10 +0100
committerGiacomo Leidi <therewasa@fishinthecalculator.me>2026-03-07 22:28:00 +0100
commita25014dda385d15d446ac9d6d58c463c43cfc16f (patch)
tree5becccda60522fed9c4e6366732e9cff8605f791 /gnu/packages
parent2daa235cf728abffe5235c2c578af0923021c37b (diff)
gnu: Add python-linux-procfs.
* gnu/packages/file-systems.scm (python-linux-procfs): New variable. Change-Id: I039d4f898e40a968d7fac0624ce4207c10155761
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/file-systems.scm30
1 files changed, 30 insertions, 0 deletions
diff --git a/gnu/packages/file-systems.scm b/gnu/packages/file-systems.scm
index f04a33f8fa1..44574e27479 100644
--- a/gnu/packages/file-systems.scm
+++ b/gnu/packages/file-systems.scm
@@ -19,6 +19,7 @@
;;; Copyright © 2020-2025 Maxim Cournoyer <maxim@guixotic.coop>
;;; Copyright © 2025 45mg <45mg.writes@gmail.com>
;;; Copyright © 2025 Janneke Nieuwenhuizen <janneke@gnu.org>
+;;; Copyright © 2026 Giacomo Leidi <therewasa@fishinthecalculator.me>
;;;
;;; 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"))