Merge pull request #60128 from lilyball/xv

xv: init at 0.1.0
This commit is contained in:
Austin Seipp 2019-04-23 20:05:44 -05:00 committed by GitHub
commit 6088a4793f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 30 additions and 0 deletions

View file

@ -0,0 +1,28 @@
{ stdenv, fetchFromGitHub, rustPlatform, ncurses }:
rustPlatform.buildRustPackage rec {
pname = "xv";
version = "0.1.0";
src = fetchFromGitHub {
owner = "chrisvest";
repo = pname;
rev = "${version}";
sha256 = "1cghg3ypxx6afllvwzc6j4z4h7mylapapipqghpdndrfizk7rsxi";
};
cargoSha256 = "0iwx9cxnxlif135s2v2hji8xil38xk5a1h147ryb54v6nabaxvjw";
buildInputs = [ ncurses ];
meta = with stdenv.lib; {
description = "A visual hex viewer for the terminal";
longDescription = ''
XV is a terminal hex viewer with a text user interface, written in 100% safe Rust.
'';
homepage = https://chrisvest.github.io/xv/;
license = with licenses; [ asl20 ];
maintainers = with maintainers; [ lilyball ];
platforms = platforms.all;
};
}

View file

@ -6662,6 +6662,8 @@ in
xurls = callPackage ../tools/text/xurls {};
xv = callPackage ../tools/misc/xv {};
xvfb_run = callPackage ../tools/misc/xvfb-run { inherit (texFunctions) fontsConf; };
xvkbd = callPackage ../tools/X11/xvkbd {};