GNU bug report logs -
#53456
[PATCH] gnu: Add fnlfmt.
Previous Next
Reported by: Brandon Lucas <br <at> ndon.dk>
Date: Sat, 22 Jan 2022 21:30:02 UTC
Severity: normal
Tags: patch
Done: Ludovic Courtès <ludo <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
Message #17 received at 53456 <at> debbugs.gnu.org (full text, mbox):
Brandon Lucas schreef op za 22-01-2022 om 21:28 [+0000]:
> + (source (origin
> + (method git-fetch)
> + (uri (git-reference
> + (url "https://git.sr.ht/~technomancy/fnlfmt")
> + (commit version)))
> + (file-name (git-file-name name version))
> + (sha256
> + (base32
> + "1rv0amqhy5ypi3pvxfaadn3k1cy4mjlc49wdzl2psz3i11w9gr36"))))
> + (build-system gnu-build-system)
> + (arguments
> + '(#:test-target "test"
> + #:phases
> + (modify-phases %standard-phases
> + (delete 'configure)
> + (add-before 'build 'patch-makefile
> + ;; Use input fennel instead of bundled fennel.
> + (lambda* (#:key inputs #:allow-other-keys)
> + (substitute* "Makefile"
> + (("./fennel") (search-input-file inputs "/bin/fennel")))))
Unbundling is conventionally done using an origin snippet.
See ‘17.4.5 Snippets versus Phases’ in the manual.
This bug report was last modified 3 years and 118 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.