[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#54123] [PATCH 2/5] gnu: Add go-github-com-niemeyer-pretty.
From: |
Maxime Devos |
Subject: |
[bug#54123] [PATCH 2/5] gnu: Add go-github-com-niemeyer-pretty. |
Date: |
Wed, 23 Feb 2022 13:39:00 +0100 |
User-agent: |
Evolution 3.38.3-1 |
Efraim Flashner schreef op wo 23-02-2022 om 12:29 [+0200]:
> + (arguments
> + '(#:import-path "github.com/niemeyer/pretty"
> + #:phases
> + (modify-phases %standard-phases
> + (add-after 'unpack 'patch-source
> + (lambda _
> + ;; https://github.com/kr/pretty/pull/66
> + (substitute* "src/github.com/niemeyer/pretty/formatter.go"
> + (("string\\(i\\)") "string(rune(i))")))))))
The 'patches' and 'snippet' fields of 'origin' are for patching
source code. While patching in a phase works, an origin snippet
seems a more natural place to me.
Greetings,
Maxime.
signature.asc
Description: This is a digitally signed message part
- [bug#54123] [PATCH 0/5] some golang packages, Efraim Flashner, 2022/02/23
- [bug#54123] [PATCH 1/5] gnu: Add go-github-com-xdg-go-stringprep., Efraim Flashner, 2022/02/23
- [bug#54123] [PATCH 2/5] gnu: Add go-github-com-niemeyer-pretty., Efraim Flashner, 2022/02/23
- [bug#54123] [PATCH 2/5] gnu: Add go-github-com-niemeyer-pretty.,
Maxime Devos <=
- [bug#54123] [PATCH 4/5] gnu: Add go-github-com-xdg-go-pbkdf2., Efraim Flashner, 2022/02/23
- [bug#54123] [PATCH 3/5] gnu: Add go-github-com-docker-go-units., Efraim Flashner, 2022/02/23
- [bug#54123] [PATCH 5/5] gnu: Add go-github-com-xdg-go-scram., Efraim Flashner, 2022/02/23