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

25 lines
699 B
Nix
Raw Normal View History

2020-05-01 15:28:35 +01:00
{ stdenv, rustPlatform, fetchFromGitHub, libiconv, Security }:
rustPlatform.buildRustPackage rec {
pname = "gitui";
2020-05-20 13:28:22 +01:00
version = "0.3.0";
2020-05-01 15:28:35 +01:00
src = fetchFromGitHub {
owner = "extrawurst";
repo = pname;
rev = "v${version}";
2020-05-20 13:28:22 +01:00
sha256 = "0rdaschf6030zprz81g7xnx57idjsq3bjhjp5d9387ha5njq0bp1";
2020-05-01 15:28:35 +01:00
};
2020-05-20 13:28:22 +01:00
cargoSha256 = "1k24xabhgwwdvslq81w6b8jnnjxbafj4s0zpcq2c4hals2xxwfy4";
2020-05-01 15:28:35 +01:00
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 ];
};
}