gnu: guile-parted: Add "guile3.0-parted" variant.
* gnu/packages/guile-xyz.scm (guile-parted)[source]: Add 'modules' and 'snippet'. (guile3.0-parted): New variable.master
parent
e7fc774641
commit
e5b955580d
|
@ -1077,7 +1077,20 @@ microblogging service.")
|
|||
(file-name (git-file-name name version))
|
||||
(sha256
|
||||
(base32
|
||||
"01qmv6xnbbq3wih0dl9bscvca2d7zx7bjiqf35y6dkaqsp8nvdxf"))))
|
||||
"01qmv6xnbbq3wih0dl9bscvca2d7zx7bjiqf35y6dkaqsp8nvdxf"))
|
||||
(modules '((guix build utils)))
|
||||
(snippet
|
||||
'(begin
|
||||
;; Allow builds with Guile 3.0.
|
||||
(substitute* "configure.ac"
|
||||
(("^GUILE_PKG.*")
|
||||
"GUILE_PKG([3.0 2.2 2.0])\n"))
|
||||
|
||||
;; Remove "guile.m4" since it contains an obsolete version
|
||||
;; of 'GUILE_PKG' that doesn't work with development
|
||||
;; versions such as 2.9.
|
||||
(delete-file "m4/guile.m4")
|
||||
#t))))
|
||||
(build-system gnu-build-system)
|
||||
(arguments
|
||||
'(#:make-flags
|
||||
|
@ -1099,6 +1112,15 @@ written in pure Scheme by using Guile's foreign function interface.")
|
|||
(home-page "https://gitlab.com/mothacehe/guile-parted")
|
||||
(license license:gpl3+)))
|
||||
|
||||
(define-public guile3.0-parted
|
||||
(package
|
||||
(inherit guile-parted)
|
||||
(name "guile3.0-parted")
|
||||
(inputs `(("guile" ,guile-next)
|
||||
,@(alist-delete "guile" (package-inputs guile-parted))))
|
||||
(propagated-inputs
|
||||
`(("guile-bytestructures" ,guile3.0-bytestructures)))))
|
||||
|
||||
(define-public guile-xosd
|
||||
(package
|
||||
(name "guile-xosd")
|
||||
|
|
Reference in New Issue