depot/third_party/nixpkgs/pkgs/tools/misc/hexd/default.nix
Default email a0cb138ada Project import generated by Copybara.
GitOrigin-RevId: a100acd7bbf105915b0004427802286c37738fef
2023-02-02 18:25:31 +00:00

23 lines
548 B
Nix

{ lib, stdenv, fetchFromGitHub }:
stdenv.mkDerivation rec {
pname = "hexd";
version = "1.1.0";
src = fetchFromGitHub {
owner = "FireyFly";
repo = "hexd";
rev = "v${version}";
sha256 = "sha256-b/dROBQVPEiMBTcu4MTi6Lf6ChkFZqZrJ1V0j54rrFY=";
};
makeFlags = [ "PREFIX=$(out)" ];
meta = with lib; {
description = "Colourful, human-friendly hexdump tool";
homepage = "https://github.com/FireyFly/hexd";
maintainers = [ maintainers.FireyFly ];
license = licenses.mit;
platforms = platforms.unix;
};
}