guix_mirror_bot pushed a commit to branch master
in repository guix.
commit 787846c091c05b1180a8a0834f5afa82b04e95b3
Author: Ludovic Courtès <[email protected]>
AuthorDate: Thu Mar 5 16:28:34 2026 +0100
gnu: guile-file-names: Build from a version-control checkout.
* gnu/packages/guile-xyz.scm (guile-file-names)[source]: Switch to
‘git-fetch’.
[arguments]: In ‘fix-target-directory’ phase, modify ‘Makefile.am’.
[native-inputs]: Add ‘autoconf’, ‘automake’, and ‘texinfo’.
Change-Id: I794893f9c465077b00ee4f8ae5fe88500948755a
Signed-off-by: Ludovic Courtès <[email protected]>
---
gnu/packages/guile-xyz.scm | 18 +++++++++---------
1 file changed, 9 insertions(+), 9 deletions(-)
diff --git a/gnu/packages/guile-xyz.scm b/gnu/packages/guile-xyz.scm
index be65537c0f..97afe8da27 100644
--- a/gnu/packages/guile-xyz.scm
+++ b/gnu/packages/guile-xyz.scm
@@ -4725,27 +4725,27 @@ a standalone WebAssembly toolchain.")
(name "guile-file-names")
(version "0.3")
(source (origin
- (method url-fetch)
- (uri (string-append
"http://brandon.invergo.net/software/download/"
- "guile-file-names/guile-file-names-"
- version ".tar.gz"))
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://gitlab.com/brandoninvergo/guile-file-names")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
(sha256
(base32
- "01chizdxkhw6aqv629vxka9f5x3534ij7r0jqndawsg2vxm1r9sz"))))
+ "0hmsbvbcl9a7366afcqi0pdhjhlq7l137nkmv1a5z9b8pcgzx90s"))))
(build-system gnu-build-system)
(arguments
`(#:phases
(modify-phases %standard-phases
(add-after 'unpack 'fix-target-directory
(lambda _
- (substitute* "src/Makefile.in"
+ (substitute* "src/Makefile.am"
(("guilemoddir = \\$\\(GUILE_SITE\\)")
- "guilemoddir =
$(datadir)/guile/site/$(GUILE_EFFECTIVE_VERSION)\n"))
- #t)))))
+ "guilemoddir =
$(datadir)/guile/site/$(GUILE_EFFECTIVE_VERSION)\n")))))))
(inputs
(list guile-2.2))
(native-inputs
- (list pkg-config))
+ (list autoconf automake texinfo pkg-config))
(home-page "https://gitlab.com/brandoninvergo/guile-file-names")
(synopsis "Manipulate file names")
(description