
This patch was produced in Vim by me, a human being. All errors are the fault of the operator. I did try to be careful. Co-authored-by: Peder Bergebakken Sundt <pbsds@hotmail.com> Co-authored-by: dotlambda <nix@dotlambda.de>
34 lines
729 B
Nix
34 lines
729 B
Nix
{
|
|
lib,
|
|
buildGoModule,
|
|
fetchFromGitHub,
|
|
nix-update-script,
|
|
}:
|
|
buildGoModule (finalAttrs: {
|
|
pname = "hexxy";
|
|
version = "0.1.1";
|
|
src = fetchFromGitHub {
|
|
owner = "sweetbbak";
|
|
repo = "hexxy";
|
|
|
|
tag = "v${finalAttrs.version}";
|
|
hash = "sha256-pboOpPGqlSWSiP6yWONxC3wbrGc8FN0++5vHd4ERbkA=";
|
|
};
|
|
|
|
vendorHash = "sha256-qkBpSVLWZPRgS9bqOVUWHpyj8z/nheQJON3vJOwPUj4=";
|
|
ldflags = [
|
|
"-s"
|
|
"-w"
|
|
];
|
|
|
|
passthru.updateScript = nix-update-script { };
|
|
|
|
meta = {
|
|
description = "Modern and beautiful alternative to xxd and hexdump";
|
|
homepage = "https://github.com/sweetbbak/hexxy";
|
|
license = lib.licenses.mit;
|
|
maintainers = [ lib.maintainers.NotAShelf ];
|
|
mainProgram = "hexxy";
|
|
};
|
|
})
|