Merge pull request #178903 from marsam/update-ffsend

ffsend: 0.2.74 -> 0.2.76
This commit is contained in:
Mario Rodas 2022-06-25 17:46:19 -05:00 committed by GitHub
commit 8ff1298541
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 9 deletions

View File

@ -1,6 +1,6 @@
{ lib, stdenv, fetchFromGitLab, rustPlatform, cmake, pkg-config, openssl
{ lib, stdenv, fetchFromGitLab, rustPlatform, pkg-config, openssl
, installShellFiles
, CoreFoundation, CoreServices, Security, AppKit, libiconv
, Security, AppKit
, x11Support ? stdenv.isLinux || stdenv.hostPlatform.isBSD
, xclip ? null, xsel ? null
@ -17,20 +17,21 @@ with rustPlatform;
buildRustPackage rec {
pname = "ffsend";
version = "0.2.74";
version = "0.2.76";
src = fetchFromGitLab {
owner = "timvisee";
repo = "ffsend";
rev = "v${version}";
sha256 = "0ia9agh0h9hp06ijmlgnw63n3xz2jajjw1maz27sawqp342x9vn5";
sha256 = "sha256-L1j1lXPxy9nWMeED9uzQHV5y7XTE6+DB57rDnXa4kMo=";
};
cargoSha256 = "0dl671sw3amny52a81bx7imh94dvi91dprwhcm1b0g40mjic45pw";
cargoSha256 = "sha256-zNLU9QnBGna5qb+iu2imOUvCIw3ZWRFsQlpFo5ECtKo=";
nativeBuildInputs = [ cmake pkg-config installShellFiles ];
nativeBuildInputs = [ installShellFiles ]
++ lib.optionals stdenv.isLinux [ pkg-config ];
buildInputs =
if stdenv.isDarwin then [ libiconv CoreFoundation CoreServices Security AppKit ]
if stdenv.isDarwin then [ Security AppKit ]
else [ openssl ];
preBuild = lib.optionalString (x11Support && usesX11) (
@ -56,7 +57,7 @@ buildRustPackage rec {
'';
homepage = "https://gitlab.com/timvisee/ffsend";
license = licenses.gpl3Only;
maintainers = with maintainers; [ lilyball equirosa ];
maintainers = with maintainers; [ lilyball equirosa marsam ];
platforms = platforms.unix;
};
}

View File

@ -5924,7 +5924,7 @@ with pkgs;
};
ffsend = callPackage ../tools/misc/ffsend {
inherit (darwin.apple_sdk.frameworks) CoreFoundation CoreServices Security AppKit;
inherit (darwin.apple_sdk.frameworks) Security AppKit;
};
fgallery = callPackage ../tools/graphics/fgallery { };