gnu: agda-ial: Update to ded30c410d5d40142249686572aa1acd1b2f8cc7.

* gnu/packages/agda.scm (agda-ial): Update to
ded30c410d5d40142249686572aa1acd1b2f8cc7, use agda-build-system, switch to
G-Exps, reorder fields.
This commit is contained in:
Josselin Poiret 2023-06-04 10:46:26 +02:00
parent 067e75e17a
commit e198fe4e94
No known key found for this signature in database
GPG key ID: 505E40B916171A8A

View file

@ -155,38 +155,33 @@ (define-public emacs-agda2-mode
(license (package-license agda)))) (license (package-license agda))))
(define-public agda-ial (define-public agda-ial
(let ((revision "1")
;; There hasn't been a release in a long time, and the last one
;; doesn't build with Agda 2.6.
(commit "ded30c410d5d40142249686572aa1acd1b2f8cc7"))
(package (package
(name "agda-ial") (name "agda-ial")
(version "1.5.0") (version (git-version "1.5.0" revision commit))
(home-page "https://github.com/cedille/ial")
(source (origin (source (origin
(method git-fetch) (method git-fetch)
(uri (git-reference (url home-page) (uri (git-reference (url "https://github.com/cedille/ial")
(commit (string-append "v" version)))) (commit commit)))
(file-name (git-file-name name version)) (file-name (git-file-name name version))
(sha256 (sha256
(base32 (base32
"0dlis6v6nzbscf713cmwlx8h9n2gxghci8y21qak3hp18gkxdp0g")))) "0xn6zvp1wnm0i84pz1rfbzfmayd15ch4i5s11ycd88d22pxd55dc"))))
(build-system gnu-build-system) (build-system agda-build-system)
(inputs
(list agda))
(arguments (arguments
`(#:parallel-build? #f (list
#:gnu-and-haskell? #t
#:phases #:phases
(modify-phases %standard-phases #~(modify-phases %standard-phases
(delete 'configure)
(add-before 'build 'patch-dependencies (add-before 'build 'patch-dependencies
(lambda _ (patch-shebang "find-deps.sh") #t)) (lambda _ (patch-shebang "find-deps.sh")))
(delete 'check) (replace 'build
(replace 'install (lambda _
(lambda* (#:key outputs #:allow-other-keys) (invoke "make"))))))
(let* ((out (assoc-ref outputs "out")) (home-page "https://github.com/cedille/ial")
(include (string-append out "/include/agda/ial")))
(for-each (lambda (file)
(make-file-writable file)
(install-file file include))
(find-files "." "\\.agdai?(-lib)?$"))
#t))))))
(synopsis "The Iowa Agda Library") (synopsis "The Iowa Agda Library")
(description (description
"The goal is to provide a concrete library focused on verification "The goal is to provide a concrete library focused on verification
@ -194,7 +189,7 @@ (define-public agda-ial
of theorems for booleans, natural numbers, and lists. It also has of theorems for booleans, natural numbers, and lists. It also has
trees, tries, vectors, and rudimentary IO. A number of good ideas trees, tries, vectors, and rudimentary IO. A number of good ideas
come from Agda's standard library.") come from Agda's standard library.")
(license license:expat))) (license license:expat))))
(define-public agda-stdlib (define-public agda-stdlib
(package (package