mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 15:56:50 +01:00
Merge pull request #128566 from r-ryantm/auto-update/gpg-tui
gpg-tui: 0.6.1 -> 0.6.2
This commit is contained in:
commit
bcd6993fae
2 changed files with 19 additions and 4 deletions
|
@ -1,24 +1,30 @@
|
|||
{ lib
|
||||
, stdenv
|
||||
, rustPlatform
|
||||
, fetchFromGitHub
|
||||
, gpgme
|
||||
, libgpgerror
|
||||
, libxcb
|
||||
, python3
|
||||
, AppKit
|
||||
, Foundation
|
||||
, libiconv
|
||||
, libobjc
|
||||
, libresolv
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "gpg-tui";
|
||||
version = "0.6.1";
|
||||
version = "0.6.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "orhun";
|
||||
repo = "gpg-tui";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-ajzx54uQFNZraDwqEKG9sdlMquJnluiaCqsR+JT79jw=";
|
||||
sha256 = "sha256-Iv5A+o4TNSHJeTZgZ2e0SCHclz1mGMVRJDdBAWilyT8=";
|
||||
};
|
||||
|
||||
cargoSha256 = "sha256-UjrX+Z8slMBAiKhiFjxSoX74vIiFW9bMww49oPa18ag=";
|
||||
cargoSha256 = "sha256-ISG/0WtgWwZoQd8PsvaQ9L8UKwerzEhY/84DxkdZV2g=";
|
||||
|
||||
nativeBuildInputs = [
|
||||
gpgme # for gpgme-config
|
||||
|
@ -30,6 +36,12 @@ rustPlatform.buildRustPackage rec {
|
|||
gpgme
|
||||
libgpgerror
|
||||
libxcb
|
||||
] ++ lib.optionals stdenv.isDarwin [
|
||||
AppKit
|
||||
Foundation
|
||||
libiconv
|
||||
libobjc
|
||||
libresolv
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
|
|
|
@ -2786,7 +2786,10 @@ in
|
|||
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 { };
|
||||
|
||||
|
|
Loading…
Reference in a new issue