Merge pull request #267275 from evanrichter/gex-0.6.4

gex: 0.6.3. -> 0.6.4
This commit is contained in:
Nikolay Korotkiy 2023-11-21 21:27:23 +04:00 committed by GitHub
commit b6713d6ae5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 15 additions and 6 deletions

View File

@ -1,28 +1,35 @@
{ lib
, stdenv
, rustPlatform
, fetchFromGitHub
, pkg-config
, libgit2_1_6
, libgit2
, Security
}:
rustPlatform.buildRustPackage rec {
pname = "gex";
version = "0.6.3";
version = "0.6.4";
src = fetchFromGitHub {
owner = "Piturnah";
repo = pname;
rev = "v${version}";
hash = "sha256-ADVF+Kb0DDiR3dS43uzhefFFEg1O8IC22i5fmziEp6I=";
hash = "sha256-Xer7a3UtFIv3idchI7DfZ5u6qgDW/XFWi5ihtcREXqo=";
};
nativeBuildInputs = [ pkg-config ];
buildInputs = [
libgit2_1_6
libgit2
] ++ lib.optionals stdenv.isDarwin [
Security
];
cargoHash = "sha256-XBBZ56jvBtYI5J/sSc4ckk/KXzCHNgM9A4jGolGKh2E=";
# force the libgit2-sys crate to use the system libgit2 library
LIBGIT2_NO_VENDOR = 1;
cargoHash = "sha256-HNz1wwn0eUhNR6ZLLPMse8LmAS4CzADx0ZR9gJgJQCg=";
meta = with lib; {
description = "Git Explorer: cross-platform git workflow improvement tool inspired by Magit";

View File

@ -2229,7 +2229,9 @@ with pkgs;
diff-so-fancy = callPackage ../applications/version-management/diff-so-fancy { };
gex = callPackage ../applications/version-management/gex { };
gex = callPackage ../applications/version-management/gex {
inherit (darwin.apple_sdk.frameworks) Security;
};
gfold = callPackage ../applications/version-management/gfold {
inherit (darwin.apple_sdk.frameworks) Security;