nixpkgs/pkgs/tools/misc/hexd/default.nix

26 lines
549 B
Nix
Raw Normal View History

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