From b1db0cadfdcf94f1f057d3a02bfb07e730e81ca5 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Tue, 24 Oct 2023 08:56:51 +0300 Subject: [PATCH] gnu: Add rust-cargo-credential-macos-keychain-0.3. * gnu/packages/crates-io.scm (rust-cargo-credential-macos-keychain-0.3): New variable. Change-Id: I6f8521411d757b48bb94f3b6e9146534dcce03db --- gnu/packages/crates-io.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 8e6e8f25b4..f382f1a19e 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -11366,6 +11366,29 @@ the library crate of Cargo.") GNOME libsecret.") (license (list license:expat license:asl2.0)))) +(define-public rust-cargo-credential-macos-keychain-0.3 + (package + (name "rust-cargo-credential-macos-keychain") + (version "0.3.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "cargo-credential-macos-keychain" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "15i7gq5z6a3896aq2bci9mc9h77g91ziij87c2zhhd91g1pf41rs")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-cargo-credential" ,rust-cargo-credential-0.3) + ("rust-security-framework" ,rust-security-framework-2)))) + (home-page "https://github.com/rust-lang/cargo") + (synopsis "Cargo credential process that stores tokens in a macOS keychain") + (description + "This package provides a Cargo credential process that stores tokens in a +@code{macOS} keychain.") + (license (list license:expat license:asl2.0)))) + (define-public rust-cargo-metadata-0.15 (package (name "rust-cargo-metadata")