mirror of
https://gitlab.univ-nantes.fr/glicid-public/guix-glicid.git
synced 2025-05-01 22:55:36 +02:00
use guix style on *.scm
This commit is contained in:
parent
a85adcc847
commit
09e78ddc85
28 changed files with 1981 additions and 2065 deletions
|
@ -4,7 +4,8 @@
|
|||
#:use-module (guix git-download)
|
||||
#:use-module (guix build-system gnu)
|
||||
#:use-module (guix build-system cmake)
|
||||
#:use-module ((guix licenses) #:prefix license:)
|
||||
#:use-module ((guix licenses)
|
||||
#:prefix license:)
|
||||
#:use-module (gnu packages perl)
|
||||
#:use-module (gnu packages shells)
|
||||
#:use-module (gnu packages python)
|
||||
|
@ -19,59 +20,48 @@
|
|||
#:use-module (gnu packages linux)
|
||||
#:use-module (gnu packages jemalloc)
|
||||
#:use-module (gnu packages storage)
|
||||
; #:use-module (glicid packages storage)
|
||||
)
|
||||
;; #:use-module (glicid packages storage)
|
||||
)
|
||||
|
||||
(define-public nfs-ganesha
|
||||
(package
|
||||
(name "nfs-ganesha")
|
||||
(version "3.5")
|
||||
(source
|
||||
(origin
|
||||
(method git-fetch)
|
||||
(uri
|
||||
(git-reference
|
||||
(url "https://github.com/nfs-ganesha/nfs-ganesha.git")
|
||||
(commit (string-append "V" version))
|
||||
(recursive? #t)
|
||||
)
|
||||
)
|
||||
(sha256 (base32 "0rdg3mjqrr4a8mywxkfis25gkbn4fylw42hg1d9cvp4dwrjk3hl4"))
|
||||
(file-name (string-append name "-" version "-checkout"))
|
||||
)
|
||||
)
|
||||
(source (origin
|
||||
(method git-fetch)
|
||||
(uri (git-reference
|
||||
(url "https://github.com/nfs-ganesha/nfs-ganesha.git")
|
||||
(commit (string-append "V" version))
|
||||
(recursive? #t)))
|
||||
(sha256
|
||||
(base32
|
||||
"0rdg3mjqrr4a8mywxkfis25gkbn4fylw42hg1d9cvp4dwrjk3hl4"))
|
||||
(file-name (string-append name "-" version "-checkout"))))
|
||||
(build-system cmake-build-system)
|
||||
(arguments `(
|
||||
#:configure-flags (list
|
||||
(string-append "-DLIB_INSTALL_DIR=" (assoc-ref %outputs "out") "/lib" )
|
||||
)
|
||||
#:phases (modify-phases %standard-phases
|
||||
(add-after 'unpack 'chdir (
|
||||
lambda _ (chdir "src")
|
||||
#t
|
||||
))
|
||||
)
|
||||
))
|
||||
(inputs `(
|
||||
("perl", perl)
|
||||
("oksh", oksh)
|
||||
("python-3", python-3)
|
||||
("mit-krb5", mit-krb5)
|
||||
("gss", gss)
|
||||
("pkg-config", pkg-config)
|
||||
("jemalloc", jemalloc)
|
||||
("ceph:lib", ceph "lib")
|
||||
("libnfsidmap", libnfsidmap)
|
||||
("libnfs", libnfs)
|
||||
("liburcu", liburcu)
|
||||
("bison", bison)
|
||||
("flex", flex)
|
||||
("libnsl", libnsl)
|
||||
("util-linux", util-linux "lib")
|
||||
))
|
||||
(arguments
|
||||
`(#:configure-flags (list (string-append "-DLIB_INSTALL_DIR="
|
||||
(assoc-ref %outputs "out")
|
||||
"/lib"))
|
||||
#:phases (modify-phases %standard-phases
|
||||
(add-after 'unpack 'chdir
|
||||
(lambda _
|
||||
(chdir "src") #t)))))
|
||||
(inputs `(("perl" ,perl)
|
||||
("oksh" ,oksh)
|
||||
("python-3" ,python-3)
|
||||
("mit-krb5" ,mit-krb5)
|
||||
("gss" ,gss)
|
||||
("pkg-config" ,pkg-config)
|
||||
("jemalloc" ,jemalloc)
|
||||
("ceph:lib" ,ceph "lib")
|
||||
("libnfsidmap" ,libnfsidmap)
|
||||
("libnfs" ,libnfs)
|
||||
("liburcu" ,liburcu)
|
||||
("bison" ,bison)
|
||||
("flex" ,flex)
|
||||
("libnsl" ,libnsl)
|
||||
("util-linux" ,util-linux "lib")))
|
||||
(synopsis "nfs-ganesha")
|
||||
(description "NFS-Ganesha.")
|
||||
(home-page "https://")
|
||||
(license license:gpl3+)
|
||||
)
|
||||
)
|
||||
(license license:gpl3+)))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue