/* GNU Guix --- Functional package management for GNU Copyright (C) 2012 Ludovic Courtès This file is part of GNU Guix. GNU Guix is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. GNU Guix is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with GNU Guix. If not, see . */ #include #define SHA256_CTX guix_hash_context static inline void SHA256_Init (struct SHA256_CTX *ctx) { guix_hash_init (ctx, GCRY_MD_SHA256); } #define SHA256_Update guix_hash_update static inline void SHA256_Final (void *resbuf, struct SHA256_CTX *ctx) { guix_hash_final (resbuf, ctx, GCRY_MD_SHA256); } utsummaryrefslogtreecommitdiff
AgeCommit message (Expand)Author
2024-02-12gnu: disarchive: Update to 0.6.0....* gnu/packages/backup.scm (disarchive): Update to 0.6.0; add 'guile-bzip2' as an input. * gnu/packages/package-management.scm (guix): Add 'guile-bzip2' as an input to enable bzip2 support when using Disarchive. * guix/self.scm (%packages): Add 'guile-bzip2'. (compiled-guix): Include 'guile-bzip2' as a dependency when building the 'guix' command. * etc/disarchive-manifest.scm (tarball-origin?): Include bzip2 tarballs. Co-authored-by: Ludovic Courtès <ludovic.courtes@inria.fr> Change-Id: I4da479054f6bef225f5ea979c091152f8a9e51d5 Timothy Sample
2023-10-08disarchive-manifest: Add one manifest entry per tarball....This works around a situation where ‘cuirass remote-worker’ now builds with max-jobs = 1 (Cuirass commit 980ef610989895be5ac2ba7f9d1901e5c7f22934). The effect is that all .dis.drv would be performed sequentially, on a single machine (‘cuirass remote-server’ is unable to distribute those derivations to several machines because it only “sees” the ‘disarchive-collection’ derivation). This would take a lot of time and force a rebuild of all of *.dis.drv every time because their build results would not be retrieved by the ‘remote-server’ process. * etc/disarchive-manifest.scm (disarchive-collection): Remove. <top level>: Define ‘disarchives’. Append it to the entries of the manifest. Ludovic Courtès
2022-08-06disarchive-manifest: Exclude the Chromium tarball....* etc/disarchive-manifest.scm (disarchive-collection): Exclude "chromium-" tarballs. Ludovic Courtès
2022-08-05disarchive-manifest: Filter out origins without a hash....* etc/disarchive-manifest.scm (disarchive-collection): Filter out origins with a phony hash. Ludovic Courtès
2022-08-05disarchive-manifest: Handle tar.xz archives....* etc/disarchive-manifest.scm (tarball-origin?): Add ".tar.xz". Ludovic Courtès
2021-10-09disarchive-manifest: Provide valid 'version' string....* etc/disarchive-manifest.scm <top level>: Turn 'version' field into a string. Ludovic Courtès
2021-09-14etc: Add 'disarchive-manifest.scm'....* etc/disarchive-manifest.scm: New file. * Makefile.am (EXTRA_DIST): Add it. Ludovic Courtès