From b7edbb0915adbd1bc00099d0905425babf3301a8 Mon Sep 17 00:00:00 2001 From: Tim Kleinschmidt Date: Thu, 29 Jun 2023 13:52:10 +0200 Subject: [PATCH] gex: 0.3.3 -> 0.3.8 (#225549) --- .../version-management/gex/default.nix | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/pkgs/applications/version-management/gex/default.nix b/pkgs/applications/version-management/gex/default.nix index dbcc63419b75..c8b2e5005bca 100644 --- a/pkgs/applications/version-management/gex/default.nix +++ b/pkgs/applications/version-management/gex/default.nix @@ -2,25 +2,32 @@ , stdenv , rustPlatform , fetchFromGitHub +, pkg-config +, openssl +# waiting on gex to update to libgit2-sys >= 0.15 +, libgit2_1_5 }: rustPlatform.buildRustPackage rec { pname = "gex"; - version = "0.3.3"; + version = "0.3.8"; src = fetchFromGitHub { owner = "Piturnah"; repo = pname; rev = "v${version}"; - hash = "sha256-oUcQKpZqqb8wZDpdFfpxLpwdfQlokJE5bsoPwxh+JMM="; + hash = "sha256-pjyS0H25wdcexpzZ2vVzGTwDPzyvA9PDgzz81yLGTOY="; }; - cargoHash = "sha256-ZFrIlNysjlXI8n78N2Hkff6gAplipxSQXUWG8HJq8fs="; + nativeBuildInputs = [ pkg-config ]; + buildInputs = [ openssl libgit2_1_5 ]; + + cargoHash = "sha256-+FwXm3QN9bt//dWqzkBzsGigyl1SSY4/P29QtV75V6M="; meta = with lib; { description = "Git Explorer: cross-platform git workflow improvement tool inspired by Magit"; homepage = "https://github.com/Piturnah/gex"; license = with licenses; [ asl20 /* or */ mit ]; - maintainers = with maintainers; [ Br1ght0ne ]; + maintainers = with maintainers; [ azd325 Br1ght0ne ]; }; }