mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 15:13:46 +00:00
27 lines
845 B
Nix
27 lines
845 B
Nix
{ lib, stdenv, rustPlatform, fetchFromGitHub, libiconv, perl, python3, Security, AppKit, openssl, xclip }:
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "gitui";
|
|
version = "0.11.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "extrawurst";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "0yq98jslbac87zdzlwqc2kcd6hqy2wnza3l8n3asss1iaqcb0ilh";
|
|
};
|
|
|
|
cargoSha256 = "16riggrhk1f6lg8y46wn89ab5b1iz6lw00ngid20x4z32d2ww70f";
|
|
|
|
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 ];
|
|
};
|
|
}
|