about summary refs log tree commit diff
path: root/pkgs/applications/version-management/gex/default.nix
blob: 7bb39ef94e7f9ecb4d9a0d42716385a2a58ff629 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
{ lib
, stdenv
, rustPlatform
, fetchFromGitHub
, pkg-config
, libgit2
}:

rustPlatform.buildRustPackage rec {
  pname = "gex";
  version = "0.4.0";

  src = fetchFromGitHub {
    owner = "Piturnah";
    repo = pname;
    rev = "v${version}";
    hash = "sha256-eRforLvRVSrFWnI5UZEWr1L4UM3ABjAIvui1E1hzk5s=";
  };

  nativeBuildInputs = [ pkg-config ];
  buildInputs = [ libgit2 ];

  cargoHash = "sha256-OEaNERozmJL8gYe33V/m4HQNHi2I4KHpI6PTwFQkPSs=";

  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; [ azd325 Br1ght0ne ];
  };
}