[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
316/379: gnu: Add sequoia-wot.
From: |
guix-commits |
Subject: |
316/379: gnu: Add sequoia-wot. |
Date: |
Thu, 29 Jun 2023 12:35:04 -0400 (EDT) |
efraim pushed a commit to branch rust-team
in repository guix.
commit 67ffcdb43b6944bf3b0840c0aca46b22447b6f1f
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Mon May 22 17:54:21 2023 +0300
gnu: Add sequoia-wot.
* gnu/packages/sequoia.scm (sequoia-wot): New variable.
---
gnu/packages/sequoia.scm | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
diff --git a/gnu/packages/sequoia.scm b/gnu/packages/sequoia.scm
index ba5a74f002..9155093cd8 100644
--- a/gnu/packages/sequoia.scm
+++ b/gnu/packages/sequoia.scm
@@ -532,6 +532,38 @@ constraints on the signature into account.
This Guix package is built to use the nettle cryptographic library.")
(license license:lgpl2.0+)))
+(define-public sequoia-wot
+ (package
+ (inherit rust-sequoia-wot-0.8)
+ (name "sequoia-wot")
+ (arguments
+ (substitute-keyword-arguments (package-arguments rust-sequoia-wot-0.8)
+ ((#:install-source? _ #t) #f)
+ ((#:phases phases '%standard-phases)
+ `(modify-phases ,phases
+ (add-after 'install 'install-more
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let* ((out (assoc-ref outputs "out"))
+ (share (string-append out "/share"))
+ (man1 (string-append share "/man/man1")))
+ (for-each (lambda (file)
+ (install-file file man1))
+ (find-files "target/release" "\\.1$"))
+ ;; TODO: Install _sq-wot.ps1, sq-wot.elv
+ (mkdir-p (string-append out "/etc/bash_completion.d"))
+ (mkdir-p (string-append share "/fish/vendor_completions.d"))
+ (copy-file (car (find-files "target/release" "sq-wot.bash"))
+ (string-append out
"/etc/bash_completion.d/sq-wot"))
+ (copy-file (car (find-files "target/release" "sq-wot.fish"))
+ (string-append
+ share "/fish/vendor_completions.d/sq-wot.fish"))
+ (install-file (car (find-files "target/release" "_sq-wot"))
+ (string-append
+ share "/zsh/site-functions")))))))))
+ (description "An implementation of OpenPGP's web of trust.
+
+This Guix package is built to use the nettle cryptographic library.")))
+
(define-public sequoia
(package
(name "sequoia")
- 308/379: gnu: Add rust-sequoia-policy-config-0.6., (continued)
- 308/379: gnu: Add rust-sequoia-policy-config-0.6., guix-commits, 2023/06/29
- 317/379: gnu: sequoia: Update to 1.16.0., guix-commits, 2023/06/29
- 313/379: gnu: Remove libsequoia., guix-commits, 2023/06/29
- 321/379: gnu: Add rust-unsafe-libyaml-0.2., guix-commits, 2023/06/29
- 315/379: gnu: sequoia-sqv: Update to 1.1.0., guix-commits, 2023/06/29
- 320/379: gnu: Add rust-win-crypto-ng-0.5., guix-commits, 2023/06/29
- 314/379: gnu: sequoia-sq: Update to 0.30.0., guix-commits, 2023/06/29
- 319/379: gnu: Add rust-wycheproof-0.5., guix-commits, 2023/06/29
- 323/379: gnu: Add rust-twofish-0.7., guix-commits, 2023/06/29
- 303/379: gnu: rust-uniquote-3: Update to 3.3.0., guix-commits, 2023/06/29
- 316/379: gnu: Add sequoia-wot.,
guix-commits <=
- 301/379: gnu: rust-thread-local-1: Update to 1.1.7., guix-commits, 2023/06/29
- 302/379: gnu: rust-trycmd-0.14: Update to 0.14.16., guix-commits, 2023/06/29
- 311/379: gnu: Add rust-sequoia-autocrypt-0.25., guix-commits, 2023/06/29
- 330/379: gnu: Add rust-serde-aux-4., guix-commits, 2023/06/29
- 339/379: gnu: Add rust-no-std-compat-0.4., guix-commits, 2023/06/29
- 341/379: gnu: Add rust-is-ci-1., guix-commits, 2023/06/29
- 343/379: gnu: Add rust-git-testament-0.2., guix-commits, 2023/06/29
- 344/379: gnu: Add rust-fs-set-times-0.19., guix-commits, 2023/06/29
- 345/379: gnu: Add rust-fs-at-0.1., guix-commits, 2023/06/29
- 358/379: gnu: Add rust-clap-builder-4., guix-commits, 2023/06/29