3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #86477 from filalex77/gitui-0.2.0

gitui: init at 0.2.0
This commit is contained in:
Mario Rodas 2020-05-02 09:17:41 -05:00 committed by GitHub
commit 77606439fa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 28 additions and 0 deletions

View file

@ -173,6 +173,10 @@ let
gitstatus = callPackage ./gitstatus { };
gitui = callPackage ./gitui {
inherit (darwin.apple_sdk.frameworks) Security;
};
grv = callPackage ./grv { };
hub = callPackage ./hub { };

View file

@ -0,0 +1,24 @@
{ 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 ];
};
}