gnu: cl-string-match: Fix dependency.

* gnu/packages/lisp-xyz.scm (sbcl-cl-string-match)[arguments]: Add
  'fix-dependency' phase.
  [source, home-page]: Update to new URL.
This commit is contained in:
Guillaume Le Vaillant 2021-11-01 10:21:55 +01:00
parent 840a708088
commit 9070bfd2c0
No known key found for this signature in database
GPG key ID: 6BE8208ADF21FE3F

View file

@ -2472,7 +2472,7 @@ (define-public sbcl-cl-string-match
(origin (origin
(method hg-fetch) (method hg-fetch)
(uri (hg-reference (uri (hg-reference
(url "https://bitbucket.org/vityok/cl-string-match/") (url "https://github.com/vityok/cl-string-match")
(changeset changeset))) (changeset changeset)))
(sha256 (sha256
(base32 (base32
@ -2494,13 +2494,20 @@ (define-public sbcl-cl-string-match
;; For testing: ;; For testing:
`(("lisp-unit" ,sbcl-lisp-unit))) `(("lisp-unit" ,sbcl-lisp-unit)))
(arguments (arguments
`(#:tests? #f)) `(#:tests? #f
#:phases
(modify-phases %standard-phases
(add-after 'unpack 'fix-dependency
(lambda _
(substitute* "cl-string-match.asd"
((":mgl-pax")
":mgl-pax/document")))))))
(synopsis "Set of utilities to manipulate strings in Common Lisp") (synopsis "Set of utilities to manipulate strings in Common Lisp")
(description (description
"@command{cl-strings} is a small, portable, dependency-free set of "@command{cl-strings} is a small, portable, dependency-free set of
utilities that make it even easier to manipulate text in Common Lisp. It has utilities that make it even easier to manipulate text in Common Lisp. It has
100% test coverage and works at least on sbcl, ecl, ccl, abcl and clisp.") 100% test coverage and works at least on sbcl, ecl, ccl, abcl and clisp.")
(home-page "https://bitbucket.org/vityok/cl-string-match/") (home-page "https://github.com/vityok/cl-string-match")
(license license:bsd-3)))) (license license:bsd-3))))
(define-public cl-string-match (define-public cl-string-match