gnu: libraft: Fetch source from Git.
* gnu/packages/cluster.scm (libraft)[source]: Switch to GIT-FETCH.
This commit is contained in:
parent
45151bcb94
commit
befac35876
|
@ -22,6 +22,7 @@
|
||||||
#:use-module ((guix licenses) #:prefix license:)
|
#:use-module ((guix licenses) #:prefix license:)
|
||||||
#:use-module (guix build-system gnu)
|
#:use-module (guix build-system gnu)
|
||||||
#:use-module (guix download)
|
#:use-module (guix download)
|
||||||
|
#:use-module (guix git-download)
|
||||||
#:use-module (guix packages)
|
#:use-module (guix packages)
|
||||||
#:use-module (gnu packages autotools)
|
#:use-module (gnu packages autotools)
|
||||||
#:use-module (gnu packages gettext)
|
#:use-module (gnu packages gettext)
|
||||||
|
@ -87,14 +88,15 @@ independently or together to provide resilient infrastructures.")
|
||||||
(package
|
(package
|
||||||
(name "libraft")
|
(name "libraft")
|
||||||
(version "0.9.5")
|
(version "0.9.5")
|
||||||
|
(home-page "https://github.com/canonical/raft")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method url-fetch)
|
(method git-fetch)
|
||||||
(uri (string-append
|
(uri (git-reference (url home-page)
|
||||||
"https://github.com/canonical/raft/archive/v"
|
(commit (string-append "v" version))))
|
||||||
version ".tar.gz"))
|
(file-name (git-file-name name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"0zd8nnmsszvsrwvybcg783y705z4xik9pi0mb6gb6ii58qq2b3hz"))))
|
"1q49f5mmv6nr6dxhnp044xwc6jlczgh0nj0bl6718wiqh28411x0"))))
|
||||||
(arguments '(#:configure-flags '("--disable-uv")))
|
(arguments '(#:configure-flags '("--disable-uv")))
|
||||||
;; The uv plugin tests fail, if libuv (or the example) is enabled,
|
;; The uv plugin tests fail, if libuv (or the example) is enabled,
|
||||||
;; because setting up the environment requires too much privileges.
|
;; because setting up the environment requires too much privileges.
|
||||||
|
@ -105,7 +107,6 @@ independently or together to provide resilient infrastructures.")
|
||||||
("libtool" ,libtool)
|
("libtool" ,libtool)
|
||||||
("pkg-config" ,pkg-config)))
|
("pkg-config" ,pkg-config)))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(home-page "https://github.com/canonical/raft")
|
|
||||||
(synopsis "C implementation of the Raft consensus protocol")
|
(synopsis "C implementation of the Raft consensus protocol")
|
||||||
(description "The library has modular design: its core part implements only
|
(description "The library has modular design: its core part implements only
|
||||||
the core Raft algorithm logic, in a fully platform independent way. On top of
|
the core Raft algorithm logic, in a fully platform independent way. On top of
|
||||||
|
|
Loading…
Reference in New Issue