Merge pull request #128566 from r-ryantm/auto-update/gpg-tui

gpg-tui: 0.6.1 -> 0.6.2
This commit is contained in:
Robert Schütz 2021-06-29 11:17:14 +02:00 committed by GitHub
commit bcd6993fae
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 19 additions and 4 deletions

View file

@ -1,24 +1,30 @@
{ lib { lib
, stdenv
, rustPlatform , rustPlatform
, fetchFromGitHub , fetchFromGitHub
, gpgme , gpgme
, libgpgerror , libgpgerror
, libxcb , libxcb
, python3 , python3
, AppKit
, Foundation
, libiconv
, libobjc
, libresolv
}: }:
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "gpg-tui"; pname = "gpg-tui";
version = "0.6.1"; version = "0.6.2";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "orhun"; owner = "orhun";
repo = "gpg-tui"; repo = "gpg-tui";
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-ajzx54uQFNZraDwqEKG9sdlMquJnluiaCqsR+JT79jw="; sha256 = "sha256-Iv5A+o4TNSHJeTZgZ2e0SCHclz1mGMVRJDdBAWilyT8=";
}; };
cargoSha256 = "sha256-UjrX+Z8slMBAiKhiFjxSoX74vIiFW9bMww49oPa18ag="; cargoSha256 = "sha256-ISG/0WtgWwZoQd8PsvaQ9L8UKwerzEhY/84DxkdZV2g=";
nativeBuildInputs = [ nativeBuildInputs = [
gpgme # for gpgme-config gpgme # for gpgme-config
@ -30,6 +36,12 @@ rustPlatform.buildRustPackage rec {
gpgme gpgme
libgpgerror libgpgerror
libxcb libxcb
] ++ lib.optionals stdenv.isDarwin [
AppKit
Foundation
libiconv
libobjc
libresolv
]; ];
meta = with lib; { meta = with lib; {

View file

@ -2786,7 +2786,10 @@ in
Accelerate CoreGraphics CoreVideo; Accelerate CoreGraphics CoreVideo;
}; };
gpg-tui = callPackage ../tools/security/gpg-tui { }; gpg-tui = callPackage ../tools/security/gpg-tui {
inherit (darwin.apple_sdk.frameworks) AppKit Foundation;
inherit (darwin) libobjc libresolv;
};
goa = callPackage ../development/tools/goa { }; goa = callPackage ../development/tools/goa { };