From 3f9868f3160497fa50764b19de9a3dad2aab8190 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Sun, 22 Sep 2024 21:29:11 +0300 Subject: [PATCH] gnu: Add rust-sequoia-directories-0.1. * gnu/packages/sequoia.scm (rust-sequoia-directories-0.1): New variable. Change-Id: I197d76a7f8ab95d4118abdded116511f9f86ab77 --- gnu/packages/sequoia.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/gnu/packages/sequoia.scm b/gnu/packages/sequoia.scm index bdb91c50ad..3221361414 100644 --- a/gnu/packages/sequoia.scm +++ b/gnu/packages/sequoia.scm @@ -143,6 +143,34 @@ (define-public rust-sequoia-cert-store-0.6 (description "This package provides a certificate database interface.") (license license:lgpl2.0+))) +(define-public rust-sequoia-directories-0.1 + (package + (name "rust-sequoia-directories") + (version "0.1.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "sequoia-directories" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1m9plvzm61571y1vzsp3jkba2mgbxgwckrbpmcbqdky5c24x87dh")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-anyhow" ,rust-anyhow-1) + ("rust-directories" ,rust-directories-5) + ("rust-same-file" ,rust-same-file-1) + ("rust-tempfile" ,rust-tempfile-3) + ("rust-thiserror" ,rust-thiserror-1)) + #:phases + (modify-phases %standard-phases + (add-before 'check 'pre-check + (lambda _ + (setenv "HOME" (getcwd))))))) + (home-page "https://sequoia-pgp.org/") + (synopsis "Directories used by Sequoia") + (description "This package provides Directories used by Sequoia.") + (license license:lgpl2.0+))) + (define-public rust-sequoia-gpg-agent-0.4 (package (name "rust-sequoia-gpg-agent")