mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-11 13:49:23 -05:00
gnu: dub: Update to 1.3.0.
* gnu/packages/ldc.scm (dub): Update to 1.3.0. [arguments]: Add comment, remove spurious MKDIR-P, and rename OUTBIN.
This commit is contained in:
parent
0c3953ea60
commit
cd12f92224
1 changed files with 5 additions and 6 deletions
|
@ -279,7 +279,7 @@ (define-public ldc-beta ldc)
|
||||||
(define-public dub
|
(define-public dub
|
||||||
(package
|
(package
|
||||||
(name "dub")
|
(name "dub")
|
||||||
(version "1.2.2")
|
(version "1.3.0")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (string-append "https://github.com/dlang/dub/archive/"
|
(uri (string-append "https://github.com/dlang/dub/archive/"
|
||||||
|
@ -287,22 +287,21 @@ (define-public dub
|
||||||
(file-name (string-append name "-" version ".tar.gz"))
|
(file-name (string-append name "-" version ".tar.gz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"02k11x34nck0lbv13ww103niiswnwnslbnswj3b5faszzadbi1v4"))))
|
"056mvf01z51qc3i1qnx7yaqr728q8pss8zabiv5zpfx2ynfsw3k7"))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:tests? #f ; it would have tested itself by installing some packages (vibe etc)
|
`(#:tests? #f ; it would have tested itself by installing some packages (vibe etc)
|
||||||
#:phases
|
#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(delete 'configure)
|
(delete 'configure) ; no configure script
|
||||||
(replace 'build
|
(replace 'build
|
||||||
(lambda _
|
(lambda _
|
||||||
(zero? (system* "./build.sh"))))
|
(zero? (system* "./build.sh"))))
|
||||||
(replace 'install
|
(replace 'install
|
||||||
(lambda* (#:key outputs #:allow-other-keys)
|
(lambda* (#:key outputs #:allow-other-keys)
|
||||||
(let* ((out (assoc-ref outputs "out"))
|
(let* ((out (assoc-ref outputs "out"))
|
||||||
(outbin (string-append out "/bin")))
|
(bin (string-append out "/bin")))
|
||||||
(mkdir-p outbin)
|
(install-file "bin/dub" bin)
|
||||||
(install-file "bin/dub" outbin)
|
|
||||||
#t))))))
|
#t))))))
|
||||||
(inputs
|
(inputs
|
||||||
`(("curl" ,curl)))
|
`(("curl" ,curl)))
|
||||||
|
|
Loading…
Reference in a new issue