mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-12 22:26:40 -05:00
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:
parent
067e75e17a
commit
e198fe4e94
1 changed files with 30 additions and 35 deletions
|
@ -155,46 +155,41 @@ (define-public emacs-agda2-mode
|
||||||
(license (package-license agda))))
|
(license (package-license agda))))
|
||||||
|
|
||||||
(define-public agda-ial
|
(define-public agda-ial
|
||||||
(package
|
(let ((revision "1")
|
||||||
(name "agda-ial")
|
;; There hasn't been a release in a long time, and the last one
|
||||||
(version "1.5.0")
|
;; doesn't build with Agda 2.6.
|
||||||
(home-page "https://github.com/cedille/ial")
|
(commit "ded30c410d5d40142249686572aa1acd1b2f8cc7"))
|
||||||
(source (origin
|
(package
|
||||||
(method git-fetch)
|
(name "agda-ial")
|
||||||
(uri (git-reference (url home-page)
|
(version (git-version "1.5.0" revision commit))
|
||||||
(commit (string-append "v" version))))
|
(source (origin
|
||||||
(file-name (git-file-name name version))
|
(method git-fetch)
|
||||||
(sha256
|
(uri (git-reference (url "https://github.com/cedille/ial")
|
||||||
(base32
|
(commit commit)))
|
||||||
"0dlis6v6nzbscf713cmwlx8h9n2gxghci8y21qak3hp18gkxdp0g"))))
|
(file-name (git-file-name name version))
|
||||||
(build-system gnu-build-system)
|
(sha256
|
||||||
(inputs
|
(base32
|
||||||
(list agda))
|
"0xn6zvp1wnm0i84pz1rfbzfmayd15ch4i5s11ycd88d22pxd55dc"))))
|
||||||
(arguments
|
(build-system agda-build-system)
|
||||||
`(#:parallel-build? #f
|
(arguments
|
||||||
|
(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")))
|
||||||
(lambda _ (patch-shebang "find-deps.sh") #t))
|
(replace 'build
|
||||||
(delete 'check)
|
(lambda _
|
||||||
(replace 'install
|
(invoke "make"))))))
|
||||||
(lambda* (#:key outputs #:allow-other-keys)
|
(home-page "https://github.com/cedille/ial")
|
||||||
(let* ((out (assoc-ref outputs "out"))
|
(synopsis "The Iowa Agda Library")
|
||||||
(include (string-append out "/include/agda/ial")))
|
(description
|
||||||
(for-each (lambda (file)
|
"The goal is to provide a concrete library focused on verification
|
||||||
(make-file-writable file)
|
|
||||||
(install-file file include))
|
|
||||||
(find-files "." "\\.agdai?(-lib)?$"))
|
|
||||||
#t))))))
|
|
||||||
(synopsis "The Iowa Agda Library")
|
|
||||||
(description
|
|
||||||
"The goal is to provide a concrete library focused on verification
|
|
||||||
examples, as opposed to mathematics. The library has a good number
|
examples, as opposed to mathematics. The library has a good number
|
||||||
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
|
||||||
|
|
Loading…
Reference in a new issue