mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-02-02 08:07:29 +01:00
gnu: Add rust-procfs-0.17.
* gnu/packages/crates-io.scm (rust-procfs-0.17): New variable. (rust-procfs-0.16): Inherit from rust-procfs-0.17. Change-Id: Idb04e77453edd1bc3c47daa6f4a68792acf04769
This commit is contained in:
parent
e13fbddb0e
commit
c03f1ea105
1 changed files with 37 additions and 7 deletions
|
@ -60478,8 +60478,44 @@ (define-public rust-process-control-5
|
|||
"This package provides Ergonomically run processes with limits.")
|
||||
(license (list license:expat license:asl2.0))))
|
||||
|
||||
(define-public rust-procfs-0.17
|
||||
(package
|
||||
(name "rust-procfs")
|
||||
(version "0.17.0")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (crate-uri "procfs" version))
|
||||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32 "17swyjqinpb745f07dpdi7c8q37hxvhx9xmmsi2dhxaj2kc74nyc"))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(#:cargo-test-flags
|
||||
'("--release" "--"
|
||||
"--skip=process::tests::test_proc_status_for_kthreadd"
|
||||
"--skip=process::tests::test_proc_fd_count_runsinglethread")
|
||||
#:cargo-inputs (("rust-backtrace" ,rust-backtrace-0.3)
|
||||
("rust-bitflags" ,rust-bitflags-2)
|
||||
("rust-chrono" ,rust-chrono-0.4)
|
||||
("rust-flate2" ,rust-flate2-1)
|
||||
("rust-hex" ,rust-hex-0.4)
|
||||
("rust-procfs-core" ,rust-procfs-core-0.17)
|
||||
("rust-rustix" ,rust-rustix-0.38)
|
||||
("rust-serde" ,rust-serde-1))
|
||||
#:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.5)
|
||||
("rust-failure" ,rust-failure-0.1)
|
||||
("rust-libc" ,rust-libc-0.2)
|
||||
("rust-procinfo" ,rust-procinfo-0.4))))
|
||||
(home-page "https://github.com/eminence/procfs")
|
||||
(synopsis "Interface to the Linux procfs pseudo-filesystem")
|
||||
(description
|
||||
"This package provides an interface to the Linux procfs pseudo-filesystem.")
|
||||
(license (list license:expat license:asl2.0))))
|
||||
|
||||
(define-public rust-procfs-0.16
|
||||
(package
|
||||
(inherit rust-procfs-0.17)
|
||||
(name "rust-procfs")
|
||||
(version "0.16.0")
|
||||
(source
|
||||
|
@ -60489,7 +60525,6 @@ (define-public rust-procfs-0.16
|
|||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32 "1d4k8ai16b5cv05dpz7b87qn5dap3jdyfnrvycb5zhmhas9hs7kk"))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(#:cargo-test-flags
|
||||
'("--release" "--"
|
||||
|
@ -60512,12 +60547,7 @@ (define-public rust-procfs-0.16
|
|||
(("rust-criterion" ,rust-criterion-0.5)
|
||||
("rust-failure" ,rust-failure-0.1)
|
||||
("rust-libc" ,rust-libc-0.2)
|
||||
("rust-procinfo" ,rust-procinfo-0.4))))
|
||||
(home-page "https://github.com/eminence/procfs")
|
||||
(synopsis "Interface to the Linux procfs pseudo-filesystem")
|
||||
(description
|
||||
"This package provides an interface to the Linux procfs pseudo-filesystem.")
|
||||
(license (list license:expat license:asl2.0))))
|
||||
("rust-procinfo" ,rust-procinfo-0.4))))))
|
||||
|
||||
(define-public rust-procfs-core-0.17
|
||||
(package
|
||||
|
|
Loading…
Reference in a new issue