nixpkgs/pkgs/applications/version-management/gex/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

33 lines
826 B
Nix
Raw Normal View History

2022-10-20 13:50:31 +00:00
{ lib
, stdenv
, rustPlatform
, fetchFromGitHub
2023-06-29 11:52:10 +00:00
, pkg-config
2023-07-04 06:57:48 +00:00
, libgit2
2022-10-20 13:50:31 +00:00
}:
rustPlatform.buildRustPackage rec {
pname = "gex";
2023-07-11 03:33:57 +00:00
version = "0.5.0";
2022-10-20 13:50:31 +00:00
src = fetchFromGitHub {
owner = "Piturnah";
repo = pname;
rev = "v${version}";
2023-07-11 03:33:57 +00:00
hash = "sha256-//sQ0s8bBQzuu5aO3RjPRjFuVYiGW6BwSPoCWKAx9DQ=";
2022-10-20 13:50:31 +00:00
};
2023-06-29 11:52:10 +00:00
nativeBuildInputs = [ pkg-config ];
2023-07-04 06:57:48 +00:00
buildInputs = [ libgit2 ];
2023-06-29 11:52:10 +00:00
2023-07-11 03:33:57 +00:00
cargoHash = "sha256-rkhkFnRDtMTWFM+E5C4jR7TWtHdy3WUtIzvGDDLHqtE=";
2022-10-20 13:50:31 +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-11 14:00:15 +00:00
changelog = "https://github.com/Piturnah/gex/releases/tag/${src.rev}";
2022-10-20 13:50:31 +00:00
license = with licenses; [ asl20 /* or */ mit ];
maintainers = with maintainers; [ azd325 evanrichter piturnah ];
2022-10-20 13:50:31 +00:00
};
}