depot/third_party/nixpkgs/pkgs/applications/version-management/git-and-tools/gitui/default.nix
Default email 9a250f78df Project import generated by Copybara.
GitOrigin-RevId: 8536aeb4154f5458994080bc4cf542695c144739
2020-05-03 19:38:23 +02:00

24 lines
699 B
Nix

{ stdenv, rustPlatform, fetchFromGitHub, libiconv, Security }:
rustPlatform.buildRustPackage rec {
pname = "gitui";
version = "0.2.0";
src = fetchFromGitHub {
owner = "extrawurst";
repo = pname;
rev = "v${version}";
sha256 = "06x4a7ynq6vznjwdm0dhzlj9353skxz65xabwr5xxa85zp2a7vcm";
};
cargoSha256 = "08z3z1m0ik62gzj146a4imk4xx5n8sbvjs0w7gkclvlsvm9dp8q4";
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 ];
};
}