1a0302a145
GitOrigin-RevId: 311ceed827f531f88f46222920cd1ebb2c101f73
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.14.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "extrawurst";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "1ymvvmryzv5is535bjg8h9p7gsxygyawnpyd0hicdrdiwml5mgsq";
|
|
};
|
|
|
|
cargoSha256 = "14hf3xkdvk2mgag5pzai5382h3g79fq76s0p9pj8q9v8q21wg6pr";
|
|
|
|
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 ];
|
|
};
|
|
}
|