Merge pull request #97374 from yanganto/gitui-10.1

gitAndTools.gitui: 0.9.1 -> 0.10.1
This commit is contained in:
Ryan Mulligan 2020-10-15 08:26:32 -07:00 committed by GitHub
commit c39f08a4c8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,24 +1,26 @@
{ stdenv, rustPlatform, fetchFromGitHub, libiconv, Security }:
{ stdenv, rustPlatform, fetchFromGitHub, libiconv, xorg, python3, Security }:
rustPlatform.buildRustPackage rec {
pname = "gitui";
version = "0.9.1";
version = "0.10.1";
src = fetchFromGitHub {
owner = "extrawurst";
repo = pname;
rev = "v${version}";
sha256 = "0lxpdwpxizc4bczh5cl2x2xbbdam3fakvgcbbrdh43czgjwb4ds1";
sha256 = "1ifwbi6nydh66z6cprjmz2qvy9z52rj9jg2xf054i249gy955hah";
};
cargoSha256 = "14x0m3pq4gapgqaljxdwmr5pk9h209ls95an9xgrq0dj6apyimgx";
cargoSha256 = "1454dn7k1fc4yxhbcmx0z3hj9d9srnlc2k1qp707h1vq46ib1rsf";
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ libiconv Security ];
nativeBuildInputs = [ python3 ];
buildInputs = [ ]
++ stdenv.lib.optional stdenv.isLinux xorg.libxcb
++ 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 ];
maintainers = with maintainers; [ filalex77 yanganto ];
};
}