Unverified Commit b6713d6a authored by Nikolay Korotkiy's avatar Nikolay Korotkiy Committed by GitHub
Browse files

Merge pull request #267275 from evanrichter/gex-0.6.4

gex: 0.6.3. -> 0.6.4
parents ed5534ce ad4c77e4
Loading
Loading
Loading
Loading
+12 −5
Original line number Diff line number Diff line
{ 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";
+3 −1
Original line number Diff line number Diff line
@@ -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;