diff options
| author | Ludovic Courtès <ludo@gnu.org> | 2026-03-05 16:28:34 +0100 |
|---|---|---|
| committer | Ludovic Courtès <ludo@gnu.org> | 2026-03-10 23:07:45 +0100 |
| commit | 787846c091c05b1180a8a0834f5afa82b04e95b3 (patch) | |
| tree | fbe9366baf4b0722ee665ac5bb38b8812025dab1 | |
| parent | e70a0d0d6afd122a5756e2da5e0aafc55c9509d9 (diff) | |
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 <ludo@gnu.org>
| -rw-r--r-- | gnu/packages/guile-xyz.scm | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/gnu/packages/guile-xyz.scm b/gnu/packages/guile-xyz.scm index be65537c0f6..97afe8da27a 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 |
