summaryrefslogtreecommitdiff
path: root/gnu/build/chromium-extension.scm
AgeCommit message (Collapse)Author
2023-12-27chromium-extension: Compute json at argument evaluation time.Josselin Poiret
* gnu/build/chromium-extension.scm (make-chromium-extension): Make use of the make-signing-key procedure inside the argument field, making sure that it is not evaluated at file-load time. This would otherwise try to resolve gnutls when we can't guarantee it's defined because of dependency cycles. Change-Id: Ia7b13acfbca475c2df073e9a88fc8bb9264dd968
2022-07-20gnu: modifying make-chromium-extension to rely on node-crx3.Nicolas Graves
* gnu/build/chromium-extension.scm (make-crx): Lift Xorg and Chromium dependencies, rely on node-crx3 instead. Signed-off-by: Marius Bakke <marius@gnu.org>
2021-12-23chromium-extension: Avoid another usage of the store-mapped /tmp.Marius Bakke
* gnu/build/chromium-extension.scm (make-crx): Use a Chromium profile relative to the build directory instead of /tmp. While here, remove obsolete comment.
2021-12-16chromium-extension: Build .crx files in a deterministic fashion.Marius Bakke
* gnu/build/chromium-extension.scm (make-crx): Pass #:keep-mtime? #t to COPY-RECURSIVELY. Remove defunct FAKETIME workaround. While at it, pack the extension in the scratch working directory instead of the transient store-mapped /tmp.
2021-12-16chromium-extension: Avoid usage of gcrypt at evaluation time.Marius Bakke
* gnu/build/chromium-extension.scm (make-signing-key): Wrap builder in with-extensions, and compute the seed checksum at build time.
2021-12-16chromium-extension: Reduce imported-modules scope.Marius Bakke
* gnu/build/chromium-extension.scm (make-crx): Delay with-imported-modules until the builder code. (crx->chromium-json): Remove needless define* while at it.
2021-12-16chromium-extension: Simplify builder code.Marius Bakke
* gnu/build/chromium-extension.scm (chromium-json->profile-object): Remove variable. (file-sha256): New variable. (make-chromium-extension): Rename OUTPUT parameter to prevent conflict. Adjust other variable names for clarity. [inputs]: Clear. [arguments]: Inline and simplify the final transformation with a gexp.
2020-11-08Add (gnu build chromium-extension).Marius Bakke
* gnu/build/chromium-extension.scm: New file. * gnu/local.mk (GNU_SYSTEM_MODULES): Adjust accordingly.