formatting

This commit is contained in:
Jean-François GUILLAUME 2021-12-03 10:35:51 +01:00
parent a5b5e6d9d6
commit e30fa0129d
GPG key ID: 38751DAE145EFB5A
4 changed files with 193 additions and 203 deletions

View file

@ -1,56 +1,44 @@
(define-module (glicid packages cluster)
#:use-module (guix packages)
#:use-module (guix download)
#:use-module (gnu packages networking) ;; net-snmp
#:use-module (gnu packages networking)
#:use-module ((gnu packages cluster) #:prefix gnu:)
#:use-module (glicid utils)
)
;;;;;;;;
(define-public keepalived-newer-2.2.4
(package
(inherit gnu:keepalived)
(name "keepalived-newer")
(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 local:keepalived keepalived-newer-2.2.4)
(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" ))
(arguments
`(#:configure-flags
(list (string-append "--enable-snmp")
(string-append "--enable-snmp-checker")
(string-append "--enable-snmp-rfc")
)
)
`(#: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)))
)
(inputs `(
("net-snmp", net-snmp)
,@(package-inputs keepalived-latest)
))
)
)
;;; glicid/cluster.scm ends here