3
0
Fork 0
forked from mirrors/nixpkgs
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-08-01 06:12:20 +01:00
version = "0.9.1";
2020-05-01 15:28:35 +01:00
src = fetchFromGitHub {
owner = "extrawurst";
repo = pname;
rev = "v${version}";
2020-08-01 06:12:20 +01:00
sha256 = "0lxpdwpxizc4bczh5cl2x2xbbdam3fakvgcbbrdh43czgjwb4ds1";
2020-05-01 15:28:35 +01:00
};
2020-08-01 06:12:20 +01:00
cargoSha256 = "14x0m3pq4gapgqaljxdwmr5pk9h209ls95an9xgrq0dj6apyimgx";
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 ];
};
}