75ca762b89
GitOrigin-RevId: 29b0d4d0b600f8f5dd0b86e3362a33d4181938f9
26 lines
845 B
Nix
26 lines
845 B
Nix
{ lib, stdenv, rustPlatform, fetchFromGitHub, libiconv, perl, python3, Security, AppKit, openssl, xclip }:
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "gitui";
|
|
version = "0.12.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "extrawurst";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "1fcv9bxfv7f7ysmnqan9vdp2z3kvdb4h4zwbr0l3cs8kbapk713n";
|
|
};
|
|
|
|
cargoSha256 = "1mnh8jza8lkw5rgkx2bnnqvk9w7l9c2ab9hmfmgx049wn42ylb41";
|
|
|
|
nativeBuildInputs = [ python3 perl ];
|
|
buildInputs = [ openssl ]
|
|
++ lib.optional stdenv.isLinux xclip
|
|
++ lib.optionals stdenv.isDarwin [ libiconv Security AppKit ];
|
|
|
|
meta = with lib; {
|
|
description = "Blazing fast terminal-ui for git written in rust";
|
|
homepage = "https://github.com/extrawurst/gitui";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ Br1ght0ne yanganto ];
|
|
};
|
|
}
|