2022-10-21 18:38:19 +00:00
|
|
|
{ lib
|
|
|
|
, rustPlatform
|
|
|
|
, fetchFromGitHub
|
2023-07-15 17:15:38 +00:00
|
|
|
, pkg-config
|
2023-08-10 07:59:29 +00:00
|
|
|
, libgit2_1_6
|
2022-10-21 18:38:19 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "gex";
|
2023-08-10 07:59:29 +00:00
|
|
|
version = "0.6.1";
|
2022-10-21 18:38:19 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "Piturnah";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2023-08-10 07:59:29 +00:00
|
|
|
hash = "sha256-OCC2kHPHWFwqdE0THNZbH7d3gxTBD5MUMWY6PO5GuHU";
|
2022-10-21 18:38:19 +00:00
|
|
|
};
|
|
|
|
|
2023-07-15 17:15:38 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
|
|
|
|
2023-08-10 07:59:29 +00:00
|
|
|
buildInputs = [
|
|
|
|
libgit2_1_6
|
|
|
|
];
|
|
|
|
|
|
|
|
cargoHash = "sha256-28sMY47LAdaGmPNmxeu/w1Pn6AV3JlWbxFcit5pLkI0";
|
2022-10-21 18:38:19 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Git Explorer: cross-platform git workflow improvement tool inspired by Magit";
|
|
|
|
homepage = "https://github.com/Piturnah/gex";
|
2023-07-15 17:15:38 +00:00
|
|
|
changelog = "https://github.com/Piturnah/gex/releases/tag/${src.rev}";
|
2022-10-21 18:38:19 +00:00
|
|
|
license = with licenses; [ asl20 /* or */ mit ];
|
2023-07-15 17:15:38 +00:00
|
|
|
maintainers = with maintainers; [ azd325 evanrichter piturnah ];
|
2022-10-21 18:38:19 +00:00
|
|
|
};
|
|
|
|
}
|