mirror of
https://gitlab.univ-nantes.fr/glicid-public/guix-glicid.git
synced 2025-04-30 06:08:37 +02:00
rewrite of multiple .scm
This commit is contained in:
commit
230759ae42
4 changed files with 315 additions and 498 deletions
|
@ -16,23 +16,17 @@
|
||||||
#:use-module (guix packages)
|
#:use-module (guix packages)
|
||||||
#:use-module (guix utils)
|
#:use-module (guix utils)
|
||||||
#:use-module (glicid packages python)
|
#:use-module (glicid packages python)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
(define-public shadow
|
(define-public shadow
|
||||||
(package
|
(package
|
||||||
(inherit gnu:shadow)
|
(inherit gnu:shadow)
|
||||||
(name "shadow")
|
(name "shadow")
|
||||||
(version "4.11.1")
|
(version "4.13")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (list
|
(uri (list (string-append "https://github.com/shadow-maint/shadow/releases/download/v" version "/shadow-" version ".tar.xz")))
|
||||||
(string-append "https://github.com/shadow-maint/shadow/releases/download/v" version "/shadow-" version ".tar.xz")
|
(sha256 (base32 "0b6xz415b4y3y5nk3pw9xibv05kln4cjbmhybyncmrx2g5fj9zls"))))))
|
||||||
))
|
|
||||||
(sha256 (base32 "15bwf2krh4crj4w2frkzw9pkxiwbq7h56m8wk8w5zbmjb3797w21"))
|
|
||||||
))
|
|
||||||
)
|
|
||||||
)
|
|
||||||
|
|
||||||
(define-public sudo
|
(define-public sudo
|
||||||
(let* ((sudo-minimal gnu:sudo))
|
(let* ((sudo-minimal gnu:sudo))
|
||||||
|
@ -63,11 +57,8 @@
|
||||||
(source (origin
|
(source (origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (pypi-uri name version))
|
(uri (pypi-uri name version))
|
||||||
(sha256 (base32 "09im4w38bm36arjxmi0jbdrmv6cgnjq4b5ks4kawhicdbb0rzynm"))
|
(sha256 (base32 "09im4w38bm36arjxmi0jbdrmv6cgnjq4b5ks4kawhicdbb0rzynm"))))
|
||||||
))
|
(propagated-inputs (list ansible-core))))
|
||||||
(propagated-inputs (list ansible-core))
|
|
||||||
)
|
|
||||||
)
|
|
||||||
|
|
||||||
(define-public ansible-core
|
(define-public ansible-core
|
||||||
(package
|
(package
|
||||||
|
@ -77,16 +68,10 @@
|
||||||
(source (origin
|
(source (origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (pypi-uri name version))
|
(uri (pypi-uri name version))
|
||||||
(sha256 (base32 "120rrpj8pqscdf2llipxxvpmg4fxqr3s0vx32f6hq77z60jh9igf"))
|
(sha256 (base32 "120rrpj8pqscdf2llipxxvpmg4fxqr3s0vx32f6hq77z60jh9igf"))))
|
||||||
))
|
|
||||||
(arguments
|
(arguments
|
||||||
`(
|
`(
|
||||||
#:tests? #f
|
#:tests? #f
|
||||||
#:phases
|
#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(delete 'sanity-check)
|
(delete 'sanity-check))))))
|
||||||
)
|
|
||||||
)
|
|
||||||
)
|
|
||||||
)
|
|
||||||
)
|
|
||||||
|
|
|
@ -19,8 +19,7 @@
|
||||||
#:use-module (gnu packages perl)
|
#:use-module (gnu packages perl)
|
||||||
#:use-module (gnu packages python)
|
#:use-module (gnu packages python)
|
||||||
#:use-module (gnu packages pkg-config)
|
#:use-module (gnu packages pkg-config)
|
||||||
#:use-module (gnu packages tls)
|
#:use-module (gnu packages tls))
|
||||||
)
|
|
||||||
|
|
||||||
(define-public openldap
|
(define-public openldap
|
||||||
(package
|
(package
|
||||||
|
@ -28,12 +27,8 @@
|
||||||
(version "2.6.3")
|
(version "2.6.3")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (list
|
(uri (list (string-append "https://www.openldap.org/software/download/OpenLDAP/openldap-release/openldap-" version ".tgz")))
|
||||||
(string-append "https://www.openldap.org/software/download/OpenLDAP/openldap-release/openldap-" version ".tgz")
|
(sha256 (base32 "0ihddk8c6hg9lkjv0wk0w13g8kb75r8dfsn1n6b77mzk3pbs38nj"))))
|
||||||
))
|
|
||||||
(sha256 (base32 "0ihddk8c6hg9lkjv0wk0w13g8kb75r8dfsn1n6b77mzk3pbs38nj"))
|
|
||||||
)
|
|
||||||
)
|
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(inputs (list argon2 cyrus-sasl libevent libgcrypt libltdl lz4 openssl perl snappy unixodbc wiredtiger zlib))
|
(inputs (list argon2 cyrus-sasl libevent libgcrypt libltdl lz4 openssl perl snappy unixodbc wiredtiger zlib))
|
||||||
(native-inputs (list bdb groff libtool pkg-config))
|
(native-inputs (list bdb groff libtool pkg-config))
|
||||||
|
@ -67,17 +62,11 @@
|
||||||
#:phases (modify-phases %standard-phases
|
#:phases (modify-phases %standard-phases
|
||||||
(add-before 'build 'make-depend
|
(add-before 'build 'make-depend
|
||||||
(lambda* (#:key input #:allow-other-keys)
|
(lambda* (#:key input #:allow-other-keys)
|
||||||
(invoke "make" "depend")
|
(invoke "make" "depend"))))))
|
||||||
)
|
|
||||||
)
|
|
||||||
)
|
|
||||||
))
|
|
||||||
(synopsis "Implementation of the Lightweight Directory Access Protocol")
|
(synopsis "Implementation of the Lightweight Directory Access Protocol")
|
||||||
(description "OpenLDAP is a free implementation of the Lightweight Directory Access Protocol.")
|
(description "OpenLDAP is a free implementation of the Lightweight Directory Access Protocol.")
|
||||||
(license license:openldap2.8)
|
(license license:openldap2.8)
|
||||||
(home-page "https://www.openldap.org/")
|
(home-page "https://www.openldap.org/")))
|
||||||
)
|
|
||||||
)
|
|
||||||
|
|
||||||
(define-public openldap-2.4.59
|
(define-public openldap-2.4.59
|
||||||
(package
|
(package
|
||||||
|
@ -86,14 +75,8 @@
|
||||||
(version "2.4.59")
|
(version "2.4.59")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (list
|
(uri (list (string-append "https://www.openldap.org/software/download/OpenLDAP/openldap-release/openldap-" version ".tgz")))
|
||||||
(string-append "https://www.openldap.org/software/download/OpenLDAP/openldap-release/openldap-" version ".tgz")
|
(sha256 (base32 "0d1gw898gbkv46mw0gll3q0w2j2y9midlzh6f320d0nq8xkpvwwr"))))))
|
||||||
))
|
|
||||||
(sha256 (base32 "0d1gw898gbkv46mw0gll3q0w2j2y9midlzh6f320d0nq8xkpvwwr"))
|
|
||||||
)
|
|
||||||
)
|
|
||||||
)
|
|
||||||
)
|
|
||||||
|
|
||||||
(define-public openldap-2.5.13
|
(define-public openldap-2.5.13
|
||||||
(package
|
(package
|
||||||
|
@ -102,14 +85,8 @@
|
||||||
(version "2.5.13")
|
(version "2.5.13")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (list
|
(uri (list (string-append "https://www.openldap.org/software/download/OpenLDAP/openldap-release/openldap-" version ".tgz")))
|
||||||
(string-append "https://www.openldap.org/software/download/OpenLDAP/openldap-release/openldap-" version ".tgz")
|
(sha256 (base32 "13007pv1vpp31dvnf9xzzcknqv9p75rqq412nrbprf7p9q646g7f"))))))
|
||||||
))
|
|
||||||
(sha256 (base32 "13007pv1vpp31dvnf9xzzcknqv9p75rqq412nrbprf7p9q646g7f"))
|
|
||||||
)
|
|
||||||
)
|
|
||||||
)
|
|
||||||
)
|
|
||||||
|
|
||||||
(define-public nss-pam-ldapd
|
(define-public nss-pam-ldapd
|
||||||
(package
|
(package
|
||||||
|
@ -118,16 +95,14 @@
|
||||||
(source (origin
|
(source (origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (string-append "https://arthurdejong.org/nss-pam-ldapd/nss-pam-ldapd-" version ".tar.gz"))
|
(uri (string-append "https://arthurdejong.org/nss-pam-ldapd/nss-pam-ldapd-" version ".tar.gz"))
|
||||||
(sha256 (base32 "050fzcmxmf6y15dlcffc4gxr3wkk7fliqqwhlwqzbjwk8vkn3mn6"))
|
(sha256 (base32 "050fzcmxmf6y15dlcffc4gxr3wkk7fliqqwhlwqzbjwk8vkn3mn6"))))
|
||||||
))
|
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(
|
`(
|
||||||
#:configure-flags
|
#:configure-flags
|
||||||
(list (string-append
|
(list (string-append
|
||||||
"--with-pam-seclib-dir=" (assoc-ref %outputs "out") "/lib/security/")
|
"--with-pam-seclib-dir=" (assoc-ref %outputs "out") "/lib/security/")
|
||||||
"--with-ldap-conf-file=/etc/nslcd.conf"
|
"--with-ldap-conf-file=/etc/nslcd.conf" )
|
||||||
)
|
|
||||||
#:phases
|
#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(add-after 'unpack 'override-nslcd.conf-install-path
|
(add-after 'unpack 'override-nslcd.conf-install-path
|
||||||
|
@ -135,28 +110,18 @@
|
||||||
(substitute* "Makefile.in"
|
(substitute* "Makefile.in"
|
||||||
(
|
(
|
||||||
("\\$\\(DESTDIR\\)\\$\\(NSLCD_CONF_PATH\\)")
|
("\\$\\(DESTDIR\\)\\$\\(NSLCD_CONF_PATH\\)")
|
||||||
(string-append (assoc-ref outputs "out") "/etc/nslcd.conf.example")
|
(string-append (assoc-ref outputs "out") "/etc/nslcd.conf.example"))))))))
|
||||||
)
|
|
||||||
)
|
|
||||||
)
|
|
||||||
)
|
|
||||||
)
|
|
||||||
)
|
|
||||||
)
|
|
||||||
(inputs `(
|
(inputs `(
|
||||||
("linux-pam", linux-pam)
|
("linux-pam", linux-pam)
|
||||||
("mit-krb5", mit-krb5)
|
("mit-krb5", mit-krb5)
|
||||||
("openldap", openldap)
|
("openldap", openldap)
|
||||||
("python", python)
|
("python", python)))
|
||||||
))
|
|
||||||
(home-page "https://arthurdejong.org/nss-pam-ldapd")
|
(home-page "https://arthurdejong.org/nss-pam-ldapd")
|
||||||
(synopsis "NSS and PAM modules for LDAP")
|
(synopsis "NSS and PAM modules for LDAP")
|
||||||
(description "nss-pam-ldapd provides a @dfn{Name Service Switch} (NSS)
|
(description "nss-pam-ldapd provides a @dfn{Name Service Switch} (NSS)
|
||||||
module that allows your LDAP server to provide user account, group, host name,
|
module that allows your LDAP server to provide user account, group, host name,
|
||||||
alias, netgroup, and basically any other information that you would normally
|
alias, netgroup, and basically any other information that you would normally
|
||||||
get from @file{/etc} flat files or NIS. It also provides a @dfn{Pluggable
|
get from @file{/etc} flat files or NIS. It also provides a @dfn{Pluggable
|
||||||
Authentication Module} (PAM) to do identity and authentication management with
|
Authentication Module} (PAM) to do identity and authentication management with
|
||||||
an LDAP server.")
|
an LDAP server.")
|
||||||
(license license:lgpl2.1+)
|
(license license:lgpl2.1+)))
|
||||||
)
|
|
||||||
)
|
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
#:use-module (gnu packages pkg-config)
|
#:use-module (gnu packages pkg-config)
|
||||||
#:use-module (gnu packages linux)
|
#:use-module (gnu packages linux)
|
||||||
#:use-module (gnu packages security-token)
|
#:use-module (gnu packages security-token)
|
||||||
)
|
)
|
||||||
(define-public libcbor-0.8.0
|
(define-public libcbor-0.8.0
|
||||||
(package
|
(package
|
||||||
(name "libcbor")
|
(name "libcbor")
|
||||||
|
@ -21,22 +21,16 @@
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (string-append "http://github.com/PJK/libcbor/archive/refs/tags/v" version ".tar.gz"))
|
(uri (string-append "http://github.com/PJK/libcbor/archive/refs/tags/v" version ".tar.gz"))
|
||||||
(sha256 (base32 "12vw46ahhsc3ydnivkv5lvk1cn4sjjmcr639cjcl99d4dqb9g031"))
|
(sha256 (base32 "12vw46ahhsc3ydnivkv5lvk1cn4sjjmcr639cjcl99d4dqb9g031"))))
|
||||||
)
|
|
||||||
)
|
|
||||||
(build-system cmake-build-system)
|
(build-system cmake-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:configure-flags (list
|
`(#:configure-flags (list
|
||||||
"-DCMAKE_CXX_FLAGS=-fPIE"
|
"-DCMAKE_CXX_FLAGS=-fPIE"
|
||||||
"-DCMAKE_C_FLAGS=-fPIE"
|
"-DCMAKE_C_FLAGS=-fPIE" )))
|
||||||
))
|
|
||||||
)
|
|
||||||
(synopsis "libfido2")
|
(synopsis "libfido2")
|
||||||
(description "Todo")
|
(description "Todo")
|
||||||
(home-page "toto")
|
(home-page "toto")
|
||||||
(license license:gpl2+)
|
(license license:gpl2+)))
|
||||||
)
|
|
||||||
)
|
|
||||||
|
|
||||||
(define-public libcbor-0.9.0
|
(define-public libcbor-0.9.0
|
||||||
(package
|
(package
|
||||||
|
@ -46,92 +40,29 @@
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (string-append "http://github.com/PJK/libcbor/archive/refs/tags/v" version ".tar.gz"))
|
(uri (string-append "http://github.com/PJK/libcbor/archive/refs/tags/v" version ".tar.gz"))
|
||||||
(sha256 (base32 "1l8m7h84zwlx088gkz6gvg2fq11g0p3q6lblwba8c01y6gwy90fs"))
|
(sha256 (base32 "1l8m7h84zwlx088gkz6gvg2fq11g0p3q6lblwba8c01y6gwy90fs"))))))
|
||||||
)
|
|
||||||
)
|
|
||||||
)
|
|
||||||
)
|
|
||||||
|
|
||||||
(define-public libcbor-latest libcbor-0.9.0)
|
(define-public libcbor-latest libcbor-0.9.0)
|
||||||
|
|
||||||
;(define-public libfido2-1.8.0
|
|
||||||
; (package
|
|
||||||
; (name "libfido2")
|
|
||||||
; (version "1.8.0")
|
|
||||||
; (source
|
|
||||||
; (origin
|
|
||||||
; (method url-fetch)
|
|
||||||
; (uri (string-append "https://developers.yubico.com/libfido2/Releases/libfido2-" version ".tar.gz"))
|
|
||||||
; (sha256 (base32 "07gxyy5yzgfh5hg7q9fr77z5mkj0xjvd5ya7p5f5kar4iwc92hjm"))
|
|
||||||
; )
|
|
||||||
; )
|
|
||||||
; (build-system cmake-build-system)
|
|
||||||
; (arguments '(
|
|
||||||
; #:tests? #f
|
|
||||||
; ))
|
|
||||||
; (inputs `(
|
|
||||||
; ("libcbor",libcbor-latest)
|
|
||||||
; ("openssl",openssl)
|
|
||||||
; ("zlib", zlib)
|
|
||||||
; ("pkg-config", pkg-config)
|
|
||||||
; ("eudev", eudev)
|
|
||||||
; ))
|
|
||||||
; (synopsis "libfido2")
|
|
||||||
; (description "Todo")
|
|
||||||
; (home-page "toto")
|
|
||||||
; (license license:gpl2+)
|
|
||||||
; )
|
|
||||||
;)
|
|
||||||
|
|
||||||
;(define-public libfido2-1.9.0
|
|
||||||
; (package
|
|
||||||
; (inherit libfido2-1.8.0)
|
|
||||||
; (version "1.9.0")
|
|
||||||
; (source
|
|
||||||
; (origin
|
|
||||||
; (method url-fetch)
|
|
||||||
; (uri (string-append "https://developers.yubico.com/libfido2/Releases/libfido2-" version ".tar.gz"))
|
|
||||||
; (sha256 (base32 "1ln2b0zfvl35r03kn2k1i2aw1k3ypvivc71xmp4dzlin6ypy6fds"))
|
|
||||||
; )
|
|
||||||
; )
|
|
||||||
; )
|
|
||||||
;)
|
|
||||||
|
|
||||||
;(define libfido2-latest libfido2-1.9.0)
|
|
||||||
|
|
||||||
(define-public openssh-with-fido2 ;; this is has to be worked again
|
(define-public openssh-with-fido2 ;; this is has to be worked again
|
||||||
(package
|
(package
|
||||||
(inherit openssh)
|
(inherit openssh)
|
||||||
(name "openssh-with-fido2")
|
(name "openssh-with-fido2")
|
||||||
(arguments `(
|
(arguments `(
|
||||||
#:test-target "tests"
|
#:test-target "tests"
|
||||||
;; Otherwise, the test scripts try to use a nonexistent directory and
|
|
||||||
;; fail.
|
|
||||||
#:make-flags '("REGRESSTMP=\"$${BUILDDIR}/regress\"")
|
#:make-flags '("REGRESSTMP=\"$${BUILDDIR}/regress\"")
|
||||||
#:configure-flags `(
|
#:configure-flags `(
|
||||||
"--sysconfdir=/etc/ssh"
|
"--sysconfdir=/etc/ssh"
|
||||||
;; Default value of 'PATH' used by sshd.
|
|
||||||
"--with-default-path=/run/current-system/profile/bin"
|
"--with-default-path=/run/current-system/profile/bin"
|
||||||
;; configure needs to find krb5-config.
|
|
||||||
,(string-append "--with-kerberos5=" (assoc-ref %build-inputs "mit-krb5") "/bin")
|
,(string-append "--with-kerberos5=" (assoc-ref %build-inputs "mit-krb5") "/bin")
|
||||||
;; libedit is needed for sftp completion.
|
|
||||||
"--with-libedit"
|
"--with-libedit"
|
||||||
;; for u2f
|
|
||||||
"--with-security-key-builtin"
|
"--with-security-key-builtin"
|
||||||
;; Enable PAM support in sshd.
|
|
||||||
,,@(if (hurd-target?)
|
,,@(if (hurd-target?)
|
||||||
'()
|
'()
|
||||||
'("--with-pam")
|
'("--with-pam"))
|
||||||
)
|
|
||||||
;; "make install" runs "install -s" by default,
|
|
||||||
;; which doesn't work for cross-compiled binaries
|
|
||||||
;; because it invokes 'strip' instead of
|
|
||||||
;; 'TRIPLET-strip'.Work around this.
|
|
||||||
,,@(if (%current-target-system)
|
,,@(if (%current-target-system)
|
||||||
'("--disable-strip")
|
'("--disable-strip")
|
||||||
'()
|
'()))
|
||||||
)
|
|
||||||
)
|
|
||||||
#:phases
|
#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(add-after 'configure 'reset-/var/empty
|
(add-after 'configure 'reset-/var/empty
|
||||||
|
@ -141,41 +72,26 @@
|
||||||
"Makefile"
|
"Makefile"
|
||||||
(("PRIVSEP_PATH=/var/empty") (string-append "PRIVSEP_PATH=" out "/var/empty"))
|
(("PRIVSEP_PATH=/var/empty") (string-append "PRIVSEP_PATH=" out "/var/empty"))
|
||||||
)
|
)
|
||||||
#t
|
#t )))
|
||||||
)
|
|
||||||
)
|
|
||||||
)
|
|
||||||
(add-before 'check 'patch-tests
|
(add-before 'check 'patch-tests
|
||||||
(lambda _
|
(lambda _
|
||||||
(substitute* "regress/test-exec.sh" (("/bin/sh") (which "sh")))
|
(substitute* "regress/test-exec.sh" (("/bin/sh") (which "sh")))
|
||||||
;; Remove 't-exec' regress target which requires user 'sshd'.
|
|
||||||
(substitute*
|
(substitute*
|
||||||
(list "Makefile" "regress/Makefile")
|
(list "Makefile" "regress/Makefile")
|
||||||
(("^(tests:.*) t-exec(.*)" all pre post) (string-append pre post))
|
(("^(tests:.*) t-exec(.*)" all pre post) (string-append pre post)))
|
||||||
)
|
#t ))
|
||||||
#t
|
|
||||||
)
|
|
||||||
)
|
|
||||||
(replace 'install
|
(replace 'install
|
||||||
(lambda*
|
(lambda*
|
||||||
(
|
(
|
||||||
#:key outputs (make-flags '())
|
#:key outputs (make-flags '())
|
||||||
#:allow-other-keys
|
#:allow-other-keys
|
||||||
)
|
)
|
||||||
;; Install without host keys and system configuration files.
|
|
||||||
(apply invoke "make" "install-nosysconf" make-flags)
|
(apply invoke "make" "install-nosysconf" make-flags)
|
||||||
(install-file "contrib/ssh-copy-id" (string-append (assoc-ref outputs "out") "/bin/"))
|
(install-file "contrib/ssh-copy-id" (string-append (assoc-ref outputs "out") "/bin/"))
|
||||||
(chmod (string-append (assoc-ref outputs "out") "/bin/ssh-copy-id") #o555)
|
(chmod (string-append (assoc-ref outputs "out") "/bin/ssh-copy-id") #o555)
|
||||||
(install-file "contrib/ssh-copy-id.1" (string-append (assoc-ref outputs "out") "/share/man/man1/"))
|
(install-file "contrib/ssh-copy-id.1" (string-append (assoc-ref outputs "out") "/share/man/man1/"))
|
||||||
#t
|
#t )))))
|
||||||
)
|
|
||||||
)
|
|
||||||
)
|
|
||||||
))
|
|
||||||
(inputs `(
|
(inputs `(
|
||||||
("libfido2", libfido2)
|
("libfido2", libfido2)
|
||||||
("libcbor", libcbor)
|
("libcbor", libcbor)
|
||||||
,@(package-inputs openssh)
|
,@(package-inputs openssh)))))
|
||||||
))
|
|
||||||
)
|
|
||||||
)
|
|
||||||
|
|
|
@ -6,81 +6,36 @@
|
||||||
#:use-module (gnu packages virtualization)
|
#:use-module (gnu packages virtualization)
|
||||||
#:use-module (gnu packages storage)
|
#:use-module (gnu packages storage)
|
||||||
#:use-module (guix download)
|
#:use-module (guix download)
|
||||||
#:use-module (glicid utils)
|
#:use-module (glicid utils))
|
||||||
; #:use-module (glicid packages storage)
|
|
||||||
)
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
;(define local-qemu qemu-7.0-upstream)
|
|
||||||
|
|
||||||
;(define qemu-latest (latest-version local-qemu qemu))
|
|
||||||
|
|
||||||
;(define local-qemu-minimal qemu-minimal-7.0-upstream)
|
|
||||||
|
|
||||||
;(define qemu-minimal-latest (latest-version local-qemu-minimal qemu-minimal))
|
|
||||||
|
|
||||||
;; current guix version is latest.
|
|
||||||
(define-public qemu-latest qemu)
|
(define-public qemu-latest qemu)
|
||||||
(define-public qemu-minimal-latest qemu-minimal)
|
(define-public qemu-minimal-latest qemu-minimal)
|
||||||
|
|
||||||
|
|
||||||
(define-public qemu-with-rbd
|
(define-public qemu-with-rbd
|
||||||
(package
|
(package
|
||||||
(inherit qemu-latest)
|
(inherit qemu-latest)
|
||||||
(name "qemu-with-rbd")
|
(name "qemu-with-rbd")
|
||||||
|
|
||||||
(arguments
|
(arguments
|
||||||
(substitute-keyword-arguments (package-arguments qemu)
|
(substitute-keyword-arguments
|
||||||
|
(package-arguments qemu)
|
||||||
((#:tests? _ #f)
|
((#:tests? _ #f)
|
||||||
;; FIXME: To run the test suite, fix all the instances where scripts
|
#f)))
|
||||||
;; generates "#! /bin/sh" shebangs.
|
|
||||||
#f)
|
|
||||||
)
|
|
||||||
)
|
|
||||||
|
|
||||||
(inputs `(
|
(inputs `(
|
||||||
("ceph:lib", ceph "lib")
|
("ceph:lib", ceph "lib")
|
||||||
,@(package-inputs qemu)
|
,@(package-inputs qemu)))))
|
||||||
))
|
|
||||||
)
|
|
||||||
)
|
|
||||||
|
|
||||||
|
|
||||||
;(define-public qemu-with-rbd
|
|
||||||
; (package
|
|
||||||
; (inherit qemu-latest)
|
|
||||||
; (name "qemu-with-rbd")
|
|
||||||
; (arguments
|
|
||||||
; (substitute-keyword-arguments `(
|
|
||||||
; #:tests? #f
|
|
||||||
; ,@(package-arguments qemu)
|
|
||||||
; ))
|
|
||||||
; )
|
|
||||||
; (inputs `(
|
|
||||||
; ("ceph:lib", ceph "lib")
|
|
||||||
; ,@(package-inputs qemu)
|
|
||||||
; ))
|
|
||||||
; )
|
|
||||||
;)
|
|
||||||
|
|
||||||
|
|
||||||
(define-public qemu-minimal-with-rbd
|
(define-public qemu-minimal-with-rbd
|
||||||
(package
|
(package
|
||||||
(inherit qemu-minimal-latest)
|
(inherit qemu-minimal-latest)
|
||||||
(name "qemu-minimal-with-rbd")
|
(name "qemu-minimal-with-rbd")
|
||||||
(arguments
|
(arguments
|
||||||
(substitute-keyword-arguments `(
|
(substitute-keyword-arguments
|
||||||
|
`(
|
||||||
#:tests? #f
|
#:tests? #f
|
||||||
,@(package-arguments qemu-minimal)
|
,@(package-arguments qemu-minimal))))
|
||||||
))
|
|
||||||
)
|
|
||||||
(inputs `(
|
(inputs `(
|
||||||
("ceph:lib", ceph "lib" )
|
("ceph:lib", ceph "lib" )
|
||||||
,@(package-inputs qemu-minimal)
|
,@(package-inputs qemu-minimal)))))
|
||||||
))
|
|
||||||
)
|
|
||||||
)
|
|
||||||
|
|
||||||
(define-public libvirt-8.5
|
(define-public libvirt-8.5
|
||||||
(package
|
(package
|
||||||
|
@ -92,8 +47,4 @@
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (string-append "https://libvirt.org/sources/libvirt-" version ".tar.xz"))
|
(uri (string-append "https://libvirt.org/sources/libvirt-" version ".tar.xz"))
|
||||||
(sha256 (base32 "0qnvjy7k4l52bb5xylvhm21blkgbhld0jzilhsdf6gdqw6srj7j0"))
|
(sha256 (base32 "0qnvjy7k4l52bb5xylvhm21blkgbhld0jzilhsdf6gdqw6srj7j0"))
|
||||||
(patches (search-patches "glicid/packages/patches/glicid-libvirt-add-install-prefix.patch"))
|
(patches (search-patches "glicid/packages/patches/glicid-libvirt-add-install-prefix.patch"))))))
|
||||||
)
|
|
||||||
)
|
|
||||||
)
|
|
||||||
)
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue