1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/applications/version-management/git-and-tools/gitui/default.nix
2020-06-09 15:49:24 +00:00

25 lines
699 B
Nix

{ stdenv, rustPlatform, fetchFromGitHub, libiconv, Security }:
rustPlatform.buildRustPackage rec {
pname = "gitui";
version = "0.5.0";
src = fetchFromGitHub {
owner = "extrawurst";
repo = pname;
rev = "v${version}";
sha256 = "0z3k83nfnl765ably4naybjf614qfizzpqb40ppwljijj9nqlng1";
};
cargoSha256 = "11y4q56vl5dp2vdc7dc5q44l2m0mn590hfg6i134m11r8988am6y";
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ libiconv Security ];
meta = with stdenv.lib; {
description = "Blazing fast terminal-ui for git written in rust";
homepage = "https://github.com/extrawurst/gitui";
license = licenses.mit;
maintainers = with maintainers; [ filalex77 ];
};
}