summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxim Cournoyer <maxim@guixotic.coop>2026-08-03 11:47:21 +0900
committerMaxim Cournoyer <maxim@guixotic.coop>2026-08-04 17:35:11 +0900
commite6c39310aa0ebad0886ad85eea20d980861f2acc (patch)
treef6f4dd1302a79b12d802222effb8eefe6c7fc638
parent3b98aa3889888dd1a69d30bed2a5f1a8519fd06c (diff)
gnu: earlyoom: Update to 1.9.0.
* gnu/packages/linux.scm (earlyoom): Update to 1.9.0. [#:imported-modules, #:modules]: New arguments. [#:phases] {setup-go-environment}: New phase. [#:make-flags]: Add SYSTEMDUNITDIR=/tmp/dummy. [native-inputs]: Add go-github-com-c9s-goprocinfo.
-rw-r--r--gnu/packages/linux.scm22
1 files changed, 16 insertions, 6 deletions
diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index f353f9f86ce..3b02f05d803 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -34,7 +34,7 @@
34;;; Copyright © 2018 Vasile Dumitrascu <va511e@yahoo.com> 34;;; Copyright © 2018 Vasile Dumitrascu <va511e@yahoo.com>
35;;; Copyright © 2019 Tim Gesthuizen <tim.gesthuizen@yahoo.de> 35;;; Copyright © 2019 Tim Gesthuizen <tim.gesthuizen@yahoo.de>
36;;; Copyright © 2019 mikadoZero <mikadozero@yandex.com> 36;;; Copyright © 2019 mikadoZero <mikadozero@yandex.com>
37;;; Copyright © 2019-2025 Maxim Cournoyer <maxim@guixotic.coop> 37;;; Copyright © 2019-2026 Maxim Cournoyer <maxim@guixotic.coop>
38;;; Copyright © 2019 Stefan Stefanović <stefanx2ovic@gmail.com> 38;;; Copyright © 2019 Stefan Stefanović <stefanx2ovic@gmail.com>
39;;; Copyright © 2019-2022 Brice Waegeneire <brice@waegenei.re> 39;;; Copyright © 2019-2022 Brice Waegeneire <brice@waegenei.re>
40;;; Copyright © 2019 Kei Kebreau <kkebreau@posteo.net> 40;;; Copyright © 2019 Kei Kebreau <kkebreau@posteo.net>
@@ -145,6 +145,7 @@
145 #:use-module (gnu packages gnome) 145 #:use-module (gnu packages gnome)
146 #:use-module (gnu packages gnupg) 146 #:use-module (gnu packages gnupg)
147 #:use-module (gnu packages golang) 147 #:use-module (gnu packages golang)
148 #:use-module (gnu packages golang-xyz)
148 #:use-module (gnu packages gperf) 149 #:use-module (gnu packages gperf)
149 #:use-module (gnu packages graphviz) 150 #:use-module (gnu packages graphviz)
150 #:use-module (gnu packages groff) 151 #:use-module (gnu packages groff)
@@ -5874,7 +5875,7 @@ from the module-init-tools project.")
5874(define-public earlyoom 5875(define-public earlyoom
5875 (package 5876 (package
5876 (name "earlyoom") 5877 (name "earlyoom")
5877 (version "1.7") 5878 (version "1.9.0")
5878 (source (origin 5879 (source (origin
5879 (method git-fetch) 5880 (method git-fetch)
5880 (uri (git-reference 5881 (uri (git-reference
@@ -5883,13 +5884,20 @@ from the module-init-tools project.")
5883 (file-name (git-file-name name version)) 5884 (file-name (git-file-name name version))
5884 (sha256 5885 (sha256
5885 (base32 5886 (base32
5886 "1xqrs6wz59ks76hdgfd4vaj010kbvllilgam2xxyn0g56kai71zi")))) 5887 "107d2vgdlkqm8ggacxn1biamganvqz29nhi0zbn7yhmfmzvs1mbq"))))
5887 (build-system gnu-build-system) 5888 (build-system gnu-build-system)
5888 (arguments 5889 (arguments
5889 (list 5890 (list
5891 #:imported-modules %go-build-system-modules
5892 #:modules '((guix build gnu-build-system)
5893 ((guix build go-build-system) #:prefix go:)
5894 (guix build union)
5895 (guix build utils))
5890 #:phases 5896 #:phases
5891 #~(modify-phases %standard-phases 5897 #~(modify-phases %standard-phases
5892 (delete 'configure) ; no configure script 5898 (delete 'configure) ; no configure script
5899 (add-before 'build 'setup-go-environment
5900 (assoc-ref go:%standard-phases 'setup-go-environment))
5893 (add-before 'check 'set-go-HOME 5901 (add-before 'check 'set-go-HOME
5894 (lambda _ 5902 (lambda _
5895 (setenv "HOME" (getcwd)))) 5903 (setenv "HOME" (getcwd))))
@@ -5904,7 +5912,8 @@ from the module-init-tools project.")
5904 (string-append "VERSION=v" #$version) 5912 (string-append "VERSION=v" #$version)
5905 (string-append "PREFIX=" #$output) 5913 (string-append "PREFIX=" #$output)
5906 (string-append "SYSCONFDIR=" #$output "/etc") 5914 (string-append "SYSCONFDIR=" #$output "/etc")
5907 "GO111MODULE=off") 5915 ;; Do not try installing systemd files to /etc/systemd.
5916 "SYSTEMDUNITDIR=/tmp/dummy")
5908 #:test-target "test")) 5917 #:test-target "test"))
5909 (native-inputs 5918 (native-inputs
5910 (append 5919 (append
@@ -5915,7 +5924,8 @@ from the module-init-tools project.")
5915 (list 5924 (list
5916 ;; For the test suite. 5925 ;; For the test suite.
5917 cppcheck 5926 cppcheck
5918 go))) 5927 go
5928 go-github-com-c9s-goprocinfo)))
5919 (home-page "https://github.com/rfjakob/earlyoom") 5929 (home-page "https://github.com/rfjakob/earlyoom")
5920 (synopsis "Simple out of memory (OOM) daemon for the Linux kernel") 5930 (synopsis "Simple out of memory (OOM) daemon for the Linux kernel")
5921 (description "Early OOM is a minimalist out of memory (OOM) daemon that 5931 (description "Early OOM is a minimalist out of memory (OOM) daemon that