packages: Factorize and document 'computed-origin-method'.
authorzimoun <zimon.toutoune@gmail.com>
Thu, 16 Sep 2021 11:47:33 +0000 (13:47 +0200)
committerLudovic Courtès <ludo@gnu.org>
Thu, 30 Sep 2021 21:44:48 +0000 (23:44 +0200)
commit270b30705dcca58d769a4ba8629cfb35eff32000
treea97bcbf4de37ebfc229f470a17af6fe84cec5d06
parent56b10709efc4eb35df66f52a20ce3cb7fab4fee6
packages: Factorize and document 'computed-origin-method'.

The 'computed-origin-method' had been introduced to work around
limitations of the 'snippet' mechanism.  The procedure was duplicated,
which made it hard to automatically detect packages using it.

* guix/packages.scm (computed-origin-method): Move procedure from...
* gnu/packages/gnuzilla.scm: ...here and...
* gnu/packages/gnuzilla.scm: ...there.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
gnu/packages/gnuzilla.scm
gnu/packages/linux.scm
guix/packages.scm