Unverified Commit 4b489e5f authored by figsoda's avatar figsoda Committed by GitHub
Browse files

Merge pull request #201950 from athre0z/update-gitui

gitui: 0.21.0 -> 0.22.0
parents ecbaaf10 73c0cb7b
Loading
Loading
Loading
Loading
+8 −3
Original line number Diff line number Diff line
@@ -12,16 +12,16 @@

rustPlatform.buildRustPackage rec {
  pname = "gitui";
  version = "0.21.0";
  version = "0.22.0";

  src = fetchFromGitHub {
    owner = "extrawurst";
    repo = pname;
    rev = "v${version}";
    sha256 = "sha256-B/RKPYq1U40NV3AM/cQi2eQaK5vxynP3JA0DReSBuCo=";
    sha256 = "sha256-ZLGA0LHdGPqIoNG2k4nunVWYlOnwRT8nqTSwUWGkfCU=";
  };

  cargoSha256 = "sha256-r4kritS3v8GgFZfWeeyrsy6v3IlH3DByTU8Ir4FDngs=";
  cargoSha256 = "sha256-ArJerq3gLzPm66RWDCvkpPFyh7ZyaoqLO/3zSjFTL04=";

  nativeBuildInputs = [ pkg-config ];

@@ -32,6 +32,11 @@ rustPlatform.buildRustPackage rec {
  # Needed to get openssl-sys to use pkg-config.
  OPENSSL_NO_VENDOR = 1;

  # The cargo config overrides linkers for some targets, breaking the build
  # on e.g. `aarch64-linux`. These overrides are not required in the Nix
  # environment: delete them.
  postPatch = "rm .cargo/config";

  meta = with lib; {
    description = "Blazing fast terminal-ui for Git written in Rust";
    homepage = "https://github.com/extrawurst/gitui";