From f6a029a1f61727179dc1f6d82a5594e90168e9cb Mon Sep 17 00:00:00 2001 From: Nathan Christopher McRae Date: Mon, 8 Jun 2026 09:05:18 -0700 Subject: [PATCH] Add seal-c package --- nathanmcrae/packages.scm | 36 +++++++++++++++++++++++++++++++++--- 1 file changed, 33 insertions(+), 3 deletions(-) diff --git a/nathanmcrae/packages.scm b/nathanmcrae/packages.scm index 4f9c9b0..feab899 100644 --- a/nathanmcrae/packages.scm +++ b/nathanmcrae/packages.scm @@ -1,11 +1,13 @@ (define-module (nathanmcrae packages) - #:use-module (gnu packages base) + #:use-module (gnu packages) + #:use-module (gnu packages commencement) + #:use-module (gnu packages curl) #:use-module (gnu packages golang) #:use-module (gnu packages golang-build) #:use-module (gnu packages time) #:use-module (guix build utils) + #:use-module (guix build-system gnu) #:use-module (guix build-system go) - #:use-module (guix build gnu-build-system) #:use-module (guix download) #:use-module (guix gexp) #:use-module (guix git) @@ -71,4 +73,32 @@ not permute arguments. It is intended as a replacement for Go's flag package.") (synopsis "Generate a PGP key from a passphrase") (description "passphrase2pgp generates, in OpenPGP format, an EdDSA signing key and Curve25519 encryption subkey entirely from a passphrase, essentially allowing you to store a backup of your PGP keys in your brain. At any time you can re-run the tool and re-enter the passphrase to reproduce the original keys.") (license unlicense) - (home-page "https://github.com/skeeto/passphrase2pgp"))) \ No newline at end of file + (home-page "https://github.com/skeeto/passphrase2pgp"))) + +(define-public seal-c + (package + (name "seal-c") + (version "0.0.7-beta") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/hackerfactor/SEAL-C.git") + (commit "0.0.7-beta"))) + (file-name (git-file-name name version)) + (sha256 (base32 "1ipinbc1r2a5srw9fi0nhxqj6pp0vf6kcgwczsqf1g0f4kmw99nd")))) + (build-system gnu-build-system) + (arguments (list #:tests? #f + #:phases #~(modify-phases %standard-phases + (delete 'configure) + (replace 'install + (lambda* (#:key outputs #:allow-other-keys) + (let* ((outdir (assoc-ref outputs "out")) + (bindir (string-append outdir "/bin"))) + (install-file "bin/sealtool" bindir))))))) + (native-inputs (list gcc-toolchain)) + (inputs (list curl (specification->package "openssl@3.5.5"))) + (home-page "https://github.com/hackerfactor/SEAL-C/") + (synopsis "Secure Evidence Attribution Label (SEAL) implementation in C") + (description "SEAL is an open solution for assigning attribution with authentication to media. It can be easily applied to pictures, audio files, videos, documents, and other file formats.") + (license ogl-psi1.0)))