3 Commits
Author SHA1 Message Date
nathanmcrae 42c1cbf39e Add nathanmcrae-key_ei.key 2026-01-19 22:58:50 -08:00
nathanmcrae 5539dfd54b Add .guix_* 2026-01-19 22:56:42 -08:00
nathanmandnathanmcrae 8376365265 Add templates 2026-01-19 22:51:44 -08:00
3 changed files with 2 additions and 106 deletions
@@ -1,6 +1,4 @@
(authorizations
(version 0)
(("EC9D623B2797AB3FEF7A832B534DF8EEEFCB57EF"
(name "nathanmcrae-key_nk")))
(("BF2C984D163E47CAAA95AD589B06663352168487"
(name "nathanmcrae-key_ei"))))
+1
View File
@@ -0,0 +1 @@
; My home services
+1 -104
View File
@@ -1,104 +1 @@
(define-module (nathanmcrae packages)
#: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 download)
#:use-module (guix gexp)
#:use-module (guix git)
#:use-module (guix git-download)
#:use-module (guix licenses)
#:use-module (guix packages)
#:use-module (guix utils))
(define-public go-nullprogram-com-x-optparse
(package
(name "go-nullprogram-com-x-optparse")
(version "1.0.0")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/skeeto/optparse-go")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "1yzpzlhmxdm8gd8ikh9c91qmshjp1jg49l0qsslmm432wk19zym9"))))
(build-system go-build-system)
(arguments
(list
#:import-path "nullprogram.com/x/optparse"))
(home-page "https://nullprogram.com/x/optparse")
(synopsis "Traditional long option parser for Go")
(description
"Package optparse parses command line arguments very similarly to GNU
@code{getopt_long()}. It supports long options and optional arguments, but does
not permute arguments. It is intended as a replacement for Go's flag package.")
(license unlicense)))
(define-public passphrase2pgp
(package
(name "passphrase2pgp")
(version "1.3.0")
(source
(origin
(method git-fetch)
(uri (git-reference (url
"https://github.com/skeeto/passphrase2pgp.git")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256 (base32 "1a1m4r43yzmvs1c7d2sa855aikny8jg6c4mflbsf5dg269imgpca"))))
(build-system go-build-system)
(native-inputs (list go-golang-org-x-crypto-bootstrap))
(propagated-inputs (list go-golang-org-x-crypto
go-nullprogram-com-x-optparse))
(arguments
(list
#:import-path "passphrase2pgp"
#:phases
#~(modify-phases %standard-phases
; Needed for import of embedded module to work
(add-after 'unpack 'make-openpgp-symlink
(lambda* (#:key tests? inputs outputs #:allow-other-keys)
(let* ((dir "src/nullprogram.com/x/passphrase2pgp/"))
(mkdir-p dir)
(with-directory-excursion dir
(symlink "../../../passphrase2pgp/openpgp" "openpgp"))))))))
;; TODO: run test.bash
(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")))
(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)))
; My packages