mirror of
https://gitlab.univ-nantes.fr/glicid-public/guix-glicid.git
synced 2025-05-01 14:45:39 +02:00
formatting
This commit is contained in:
parent
a5b5e6d9d6
commit
e30fa0129d
4 changed files with 193 additions and 203 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue