Compare commits
7
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e93ee438a7
|
||
|
|
f6a029a1f6
|
||
|
|
8b25f36c6a
|
||
|
|
3b3d89edb0
|
||
|
|
ecd654bf8f
|
||
|
|
41ab798241
|
||
|
|
f390f7b9b6
|
@@ -0,0 +1,6 @@
|
|||||||
|
(authorizations
|
||||||
|
(version 0)
|
||||||
|
(("EC9D623B2797AB3FEF7A832B534DF8EEEFCB57EF"
|
||||||
|
(name "nathanmcrae-key_nk")))
|
||||||
|
(("BF2C984D163E47CAAA95AD589B06663352168487"
|
||||||
|
(name "nathanmcrae-key_ei"))))
|
||||||
@@ -0,0 +1,3 @@
|
|||||||
|
(channel
|
||||||
|
(version 0)
|
||||||
|
(url "https://git.nathanmcrae.name/nathanmcrae/guix-channel.git"))
|
||||||
@@ -1,19 +0,0 @@
|
|||||||
-----BEGIN PGP PUBLIC KEY BLOCK-----
|
|
||||||
|
|
||||||
mFMEagNzIhMJKyQDAwIIAQEHAgMEFfpcGNSyMJsIVM6I2jQ5MkKzLZ7ZC54atdxI
|
|
||||||
XfIamUV24HYFhqKMAUpgL8zi4+qwSGtc3SfWj/G650JgfrgGz7QuTmF0aGFuIENo
|
|
||||||
cmlzdG9waGVyIE1jUmFlIDxtZUBuYXRoYW5tY3JhZS5uYW1lPoiZBBMTCABBFiEE
|
|
||||||
zLBkL5m4Lwf/qvZzc/wcry+XEVQFAmoDcyICGwMFCQWk8Y4FCwkIBwICIgIGFQoJ
|
|
||||||
CAsCBBYCAwECHgcCF4AACgkQc/wcry+XEVSGOQD/THBxDaYsJouM07pb0rFEZ2C8
|
|
||||||
lmCJ35i+jB4Bai9CldwBAJET0C4vUHb8PM5O/3D0LVMjvrF3peZ3DfBdYjZswoPj
|
|
||||||
uFMEagNzIhMJKyQDAwIIAQEHAgMEK+1HrwfGjLN75W2j9zKlBg81Avcey4PFRUc9
|
|
||||||
0lgpIOmT8WLK2xU0IEjZUhSRomzqa2tZsPxIkODxaQSX2IDQuoh+BBgTCAAmFiEE
|
|
||||||
zLBkL5m4Lwf/qvZzc/wcry+XEVQFAmoDcyICGyAFCQWk8Y4ACgkQc/wcry+XEVSv
|
|
||||||
hgD+LFufL+OCrgHPpAlj6fMGS6IFHT13JwNJcg+0hyAOQMgBAJ5rQ5gg01Rc810U
|
|
||||||
2o0TF2DaEAxIjeiTMKjgOj9WOQpguFcEagNzIhIJKyQDAwIIAQEHAgMEnHW71RpQ
|
|
||||||
6JQvpbNAzbfR84wQffiWesFL4l4e9hfyuhUNf2RFQMxRQBA5sIXwEqgumzehWcSB
|
|
||||||
6mG95Fw+c9M6xgMBCAeIfgQYEwgAJhYhBMywZC+ZuC8H/6r2c3P8HK8vlxFUBQJq
|
|
||||||
A3MiAhsMBQkFpPGOAAoJEHP8HK8vlxFUbtsBAJSBVUHGjpZTALBPHedNoyTdLfXS
|
|
||||||
JnRBhKb7/m1GCS6wAQCgkBZnxsqSYwmVg9Cy/OpKWMvOjyQREw5W2txnDQSgrQ==
|
|
||||||
=Jc0d
|
|
||||||
-----END PGP PUBLIC KEY BLOCK-----
|
|
||||||
@@ -0,0 +1,104 @@
|
|||||||
|
(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)))
|
||||||
Reference in New Issue
Block a user