9c6ee729d6
GitOrigin-RevId: 6cee3b5893090b0f5f0a06b4cf42ca4e60e5d222
32 lines
826 B
Nix
32 lines
826 B
Nix
{ lib
|
|
, stdenv
|
|
, rustPlatform
|
|
, fetchFromGitHub
|
|
, pkg-config
|
|
, libgit2
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "gex";
|
|
version = "0.5.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "Piturnah";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
hash = "sha256-//sQ0s8bBQzuu5aO3RjPRjFuVYiGW6BwSPoCWKAx9DQ=";
|
|
};
|
|
|
|
nativeBuildInputs = [ pkg-config ];
|
|
buildInputs = [ libgit2 ];
|
|
|
|
cargoHash = "sha256-rkhkFnRDtMTWFM+E5C4jR7TWtHdy3WUtIzvGDDLHqtE=";
|
|
|
|
meta = with lib; {
|
|
description = "Git Explorer: cross-platform git workflow improvement tool inspired by Magit";
|
|
homepage = "https://github.com/Piturnah/gex";
|
|
changelog = "https://github.com/Piturnah/gex/releases/tag/${src.rev}";
|
|
license = with licenses; [ asl20 /* or */ mit ];
|
|
maintainers = with maintainers; [ azd325 evanrichter piturnah ];
|
|
};
|
|
}
|