use guix style on *.scm

This commit is contained in:
Yann Dupont 2023-01-02 11:18:12 +01:00
parent a85adcc847
commit 09e78ddc85
28 changed files with 1981 additions and 2065 deletions

View file

@ -2,9 +2,9 @@
#:use-module (guix packages)
#:use-module (guix download)
#:use-module (gnu packages networking)
#:use-module ((gnu packages cluster) #:prefix gnu:)
#:use-module (glicid utils)
)
#:use-module ((gnu packages cluster)
#:prefix gnu:)
#:use-module (glicid utils))
(define-public keepalived-upstream-2.2.4
(package
@ -12,12 +12,13 @@
(name "keepalived-upstream")
(version "2.2.4")
(source (origin
(method url-fetch)
(uri (string-append "http://www.keepalived.org/software/keepalived-" version ".tar.gz"))
(sha256 (base32 "1py1xdrxzdxn09yi8dx842rmhnc8lv7z09wmb2mfljylhy8dcf01" ))
))
)
)
(method url-fetch)
(uri (string-append
"http://www.keepalived.org/software/keepalived-" version
".tar.gz"))
(sha256
(base32
"1py1xdrxzdxn09yi8dx842rmhnc8lv7z09wmb2mfljylhy8dcf01"))))))
(define-public keepalived-upstream-2.2.7
(package
@ -25,34 +26,27 @@
(name "keepalived-upstream")
(version "2.2.7")
(source (origin
(method url-fetch)
(uri (string-append "http://www.keepalived.org/software/keepalived-" version ".tar.gz"))
(sha256 (base32 "17flnzcs8hpj1g8nhhqn6bwbvpksyizcyzk2ah55cjhmfkc406f6" ))
))
)
)
(method url-fetch)
(uri (string-append
"http://www.keepalived.org/software/keepalived-" version
".tar.gz"))
(sha256
(base32
"17flnzcs8hpj1g8nhhqn6bwbvpksyizcyzk2ah55cjhmfkc406f6"))))))
(define local:keepalived keepalived-upstream-2.2.7)
(define keepalived-latest (latest-version local:keepalived gnu:keepalived))
(define local:keepalived
keepalived-upstream-2.2.7)
(define keepalived-latest
(latest-version local:keepalived gnu:keepalived))
(define-public keepalived-glicid
(package
(inherit keepalived-latest)
(name "keepalived-glicid")
(version (string-append (package-version keepalived-latest) "-glicid" ))
(version (string-append (package-version keepalived-latest) "-glicid"))
(arguments
`(#:configure-flags
(list
(string-append "--enable-snmp")
(string-append "--enable-snmp-checker")
(string-append "--enable-snmp-rfc")
)
)
)
(inputs `(
("net-snmp", net-snmp)
,@(package-inputs keepalived-latest)
))
)
)
`(#:configure-flags (list (string-append "--enable-snmp")
(string-append "--enable-snmp-checker")
(string-append "--enable-snmp-rfc"))))
(inputs `(("net-snmp" ,net-snmp)
,@(package-inputs keepalived-latest)))))