mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2025-01-05 02:23:07 +03:00
hexyl: init at 0.3.0
This commit is contained in:
parent
6b81768297
commit
96bffeb865
29
pkgs/tools/misc/hexyl/default.nix
Normal file
29
pkgs/tools/misc/hexyl/default.nix
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
{ stdenv, fetchFromGitHub, rustPlatform }:
|
||||||
|
|
||||||
|
rustPlatform.buildRustPackage rec {
|
||||||
|
name = "hexyl-${version}";
|
||||||
|
version = "0.3.0";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "sharkdp";
|
||||||
|
repo = "hexyl";
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "138w6czi62dpw6gcd3yqpk7lns7m89kwbgm1d1i5lnzsqck3wb4s";
|
||||||
|
};
|
||||||
|
|
||||||
|
cargoSha256 = "01m8n7yl3yqr8kj0dl1wfaz724da17hs3sb1fbncv64l6qpvdka1";
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "A command-line hex viewer";
|
||||||
|
longDescription = ''
|
||||||
|
`hexyl` is a simple hex viewer for the terminal. It uses a colored
|
||||||
|
output to distinguish different categories of bytes (NULL bytes,
|
||||||
|
printable ASCII characters, ASCII whitespace characters, other ASCII
|
||||||
|
characters and non-ASCII).
|
||||||
|
'';
|
||||||
|
homepage = https://github.com/sharkdp/hexyl;
|
||||||
|
license = with licenses; [ asl20 /* or */ mit ];
|
||||||
|
maintainers = [];
|
||||||
|
platforms = platforms.linux ++ platforms.darwin;
|
||||||
|
};
|
||||||
|
}
|
@ -1498,6 +1498,8 @@ in
|
|||||||
|
|
||||||
hexio = callPackage ../development/tools/hexio { };
|
hexio = callPackage ../development/tools/hexio { };
|
||||||
|
|
||||||
|
hexyl = callPackage ../tools/misc/hexyl { };
|
||||||
|
|
||||||
hid-listen = callPackage ../tools/misc/hid-listen { };
|
hid-listen = callPackage ../tools/misc/hid-listen { };
|
||||||
|
|
||||||
home-manager = callPackage ../tools/package-management/home-manager {};
|
home-manager = callPackage ../tools/package-management/home-manager {};
|
||||||
|
Loading…
Reference in New Issue
Block a user