diff options
author | Liliana Marie Prikler <liliana.prikler@gmail.com> | 2023-08-14 00:32:53 +0200 |
---|---|---|
committer | Liliana Marie Prikler <liliana.prikler@gmail.com> | 2023-08-14 00:32:53 +0200 |
commit | 51deacd8604b59aa434e944c73aecefd5183d13e (patch) | |
tree | 7429b8652ce656f883e8277ec95e273d88fe0fe3 /gnu/packages/disk.scm | |
parent | 3349a50d700a2112a31ac4ce6cc6639d3b4cf1e2 (diff) | |
parent | be6f5edd445850720dfcec2642db643b84fc0645 (diff) | |
download | guix-51deacd8604b59aa434e944c73aecefd5183d13e.tar.gz guix-51deacd8604b59aa434e944c73aecefd5183d13e.zip |
Merge branch 'master' into emacs-team
Diffstat (limited to 'gnu/packages/disk.scm')
-rw-r--r-- | gnu/packages/disk.scm | 80 |
1 files changed, 39 insertions, 41 deletions
diff --git a/gnu/packages/disk.scm b/gnu/packages/disk.scm index bb68b171f9..afa11d3852 100644 --- a/gnu/packages/disk.scm +++ b/gnu/packages/disk.scm @@ -968,7 +968,7 @@ passphrases.") (define-public ndctl (package (name "ndctl") - (version "75") + (version "78") (source (origin (method git-fetch) (uri (git-reference @@ -977,7 +977,7 @@ passphrases.") (file-name (git-file-name name version)) (sha256 (base32 - "0i3fmda285qnwnmkxzwji5ffz123yrq9dpcwzg922qpysir7zq40")))) + "0rhmxjajxxslsikixlf9cdg5vcn42h7zzqkqj5p5pshxch368kn0")))) (build-system meson-build-system) (arguments ;; The test suite runs but SKIPs all tests: do not consider this tested! @@ -1020,6 +1020,8 @@ passphrases.") json-c keyutils kmod + libtraceevent + libtracefs `(,util-linux "lib"))) (home-page "https://github.com/pmem/ndctl") (synopsis "Manage the non-volatile memory device sub-system in the Linux kernel") @@ -1129,7 +1131,7 @@ LVM D-Bus API).") (define-public rmlint (package (name "rmlint") - (version "2.10.1") + (version "2.10.2") (source (origin (method git-fetch) (uri (git-reference @@ -1138,48 +1140,44 @@ LVM D-Bus API).") (file-name (git-file-name name version)) (sha256 (base32 - "15xfkcw1bkfyf3z8kl23k3rlv702m0h7ghqxvhniynvlwbgh6j2x")))) + "0sk4v1chnk2hvzi92svyf8qgamfs4fvial90qwx4a7dayxhkbsm4")))) (build-system scons-build-system) (arguments - `(#:scons ,scons-python2 - #:scons-flags (list (string-append "--prefix=" %output) - (string-append "--actual-prefix=" %output)) - #:tests? #f ; No tests? - #:phases - (modify-phases %standard-phases - (add-after 'unpack 'scons-propagate-environment - (lambda* (#:key inputs #:allow-other-keys) - ;; TODO: `rmlint --gui` fails with - ;; "Failed to load shredder: No module named 'shredder'". - ;; The GUI might also need extra dependencies, such as - ;; python-gobject, python-cairo, dconf, librsvg, gtksourceview3. - (substitute* "lib/cmdline.c" - (("const char \\*commands\\[\\] = \\{\"python3\", \"python\", NULL\\};") - (string-append - "const char *commands[] = {\"" - (assoc-ref inputs "python") "/bin/python" - "\", \"python\", NULL};"))) - ;; By design, SCons does not, by default, propagate - ;; environment variables to subprocesses. See: - ;; <http://comments.gmane.org/gmane.linux.distributions.nixos/4969> - ;; Here, we modify the SConstruct file to arrange for - ;; environment variables to be propagated. - (substitute* "SConstruct" - (("^env = Environment\\(.*\\)" all) - (string-append - all - "\nenv['ENV']=os.environ")))))))) + (list + #:scons scons-python2 + #:scons-flags + #~(list (string-append "--prefix=" #$output) + (string-append "--actual-prefix=" #$output)) + #:tests? #f ; no tests + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'scons-propagate-environment + (lambda* (#:key inputs #:allow-other-keys) + ;; TODO: `rmlint --gui` fails with + ;; "Failed to load shredder: No module named 'shredder'". + ;; The GUI might also need extra dependencies, such as + ;; python-gobject, python-cairo, dconf, librsvg, gtksourceview3. + (substitute* "lib/cmdline.c" + (("const char \\*commands\\[\\] = \\{\"python3\", \"python\", NULL\\};") + (string-append "const char *commands[] = {\"" + (search-input-file inputs "/bin/python") + "\", \"python\", NULL};"))) + ;; By design, SCons does not, by default, propagate + ;; environment variables to subprocesses. See: + ;; <http://comments.gmane.org/gmane.linux.distributions.nixos/4969> + ;; Here, we modify the SConstruct file to arrange for + ;; environment variables to be propagated. + (substitute* "SConstruct" + (("^env = Environment\\(.*\\)" all) + (string-append all "\nenv['ENV']=os.environ")))))))) (native-inputs - `(("pkg-config" ,pkg-config) - ("glib:bin" ,glib "bin") - ("python-sphinx" ,python-sphinx))) + (list `(,glib "bin") pkg-config python-sphinx)) (inputs - `(("python" ,python-wrapper) - ("glib" ,glib) - ("libelf" ,libelf) - ("elfutils" ,elfutils) - ("json-glib" ,json-glib) - ("libblkid" ,util-linux "lib"))) + (list elfutils + glib + json-glib + python-wrapper + `(,util-linux "lib"))) (home-page "https://rmlint.rtfd.org") (synopsis "Remove duplicates and other lint from the file system") (description "@command{rmlint} finds space waste and other broken things |