gex: 0.6.3. -> 0.6.4

This commit is contained in:
Evan Richter 2023-11-13 12:09:48 -07:00
parent a2443afaae
commit ad4c77e4fd
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

@ -2227,7 +2227,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;