Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / applications / version-management / gex / default.nix
blobbb190a272b06f8cf12f20ffa94c0ca2d38888516
1 { lib
2 , rustPlatform
3 , fetchFromGitHub
4 , pkg-config
5 , libgit2_1_6
6 }:
8 rustPlatform.buildRustPackage rec {
9   pname = "gex";
10   version = "0.6.3";
12   src = fetchFromGitHub {
13     owner = "Piturnah";
14     repo = pname;
15     rev = "v${version}";
16     hash = "sha256-ADVF+Kb0DDiR3dS43uzhefFFEg1O8IC22i5fmziEp6I=";
17   };
19   nativeBuildInputs = [ pkg-config ];
21   buildInputs = [
22     libgit2_1_6
23   ];
25   cargoHash = "sha256-XBBZ56jvBtYI5J/sSc4ckk/KXzCHNgM9A4jGolGKh2E=";
27   meta = with lib; {
28     description = "Git Explorer: cross-platform git workflow improvement tool inspired by Magit";
29     homepage = "https://github.com/Piturnah/gex";
30     changelog = "https://github.com/Piturnah/gex/releases/tag/${src.rev}";
31     license = with licenses; [ asl20 /* or */ mit ];
32     maintainers = with maintainers; [ azd325 evanrichter piturnah ];
33   };