From 935099123409b0e7b2b6503ad1c96355f28e4339 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Wed, 3 Jan 2024 10:17:15 +0200 Subject: [PATCH] gnu: Add rust-cargo-credential-macos-keychain-0.4. * gnu/packages/crates-io.scm (rust-cargo-credential-macos-keychain-0.4): New variable. (rust-cargo-credential-macos-keychain-0.3): Inherit from rust-cargo-credential-macos-keychain-0.4. Change-Id: I9253e83f1994777ecc935b1fed109c0d6b02e9ca --- gnu/packages/crates-io.scm | 32 ++++++++++++++++++++++++-------- 1 file changed, 24 insertions(+), 8 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 60ddf299ee..b3988204cb 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -10100,8 +10100,31 @@ (define-public rust-cargo-credential-libsecret-0.3 ("rust-cargo-credential" ,rust-cargo-credential-0.3) ("rust-libloading" ,rust-libloading-0.8)))))) +(define-public rust-cargo-credential-macos-keychain-0.4 + (package + (name "rust-cargo-credential-macos-keychain") + (version "0.4.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "cargo-credential-macos-keychain" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1df098axn8pab6l2mljbkxg3bw1v4mcr4k42x6xy6j15854nsz70")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-cargo-credential" ,rust-cargo-credential-0.4) + ("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-credential-macos-keychain-0.3 (package + (inherit rust-cargo-credential-macos-keychain-0.4) (name "rust-cargo-credential-macos-keychain") (version "0.3.0") (source @@ -10111,17 +10134,10 @@ (define-public rust-cargo-credential-macos-keychain-0.3 (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)))) + ("rust-security-framework" ,rust-security-framework-2)))))) (define-public rust-cargo-metadata-0.18 (package