2021-01-15 09:19:50 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub }:
|
2017-11-12 18:31:09 +00:00
|
|
|
|
2021-01-15 09:19:50 +00:00
|
|
|
with lib;
|
2017-11-12 18:31:09 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "hexd";
|
2022-02-21 14:55:43 +00:00
|
|
|
version = "1.1.0";
|
2017-11-12 18:31:09 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "FireyFly";
|
|
|
|
repo = "hexd";
|
|
|
|
rev = "v${version}";
|
2022-02-21 14:55:43 +00:00
|
|
|
sha256 = "sha256-b/dROBQVPEiMBTcu4MTi6Lf6ChkFZqZrJ1V0j54rrFY=";
|
2017-11-12 18:31:09 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
makeFlags = [ "PREFIX=$(out)" ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Colourful, human-friendly hexdump tool";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/FireyFly/hexd";
|
2017-11-12 18:31:09 +00:00
|
|
|
maintainers = [ maintainers.FireyFly ];
|
|
|
|
license = licenses.mit;
|
|
|
|
platforms = platforms.unix;
|
|
|
|
};
|
|
|
|
}
|