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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

24 lines
548 B
Nix
Raw Normal View History

2021-01-15 09:19:50 +00:00
{ lib, stdenv, fetchFromGitHub }:
2017-11-12 18:31:09 +00:00
stdenv.mkDerivation rec {
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 = with lib; {
2017-11-12 18:31:09 +00:00
description = "Colourful, human-friendly hexdump tool";
homepage = "https://github.com/FireyFly/hexd";
2017-11-12 18:31:09 +00:00
maintainers = [ maintainers.FireyFly ];
license = licenses.mit;
platforms = platforms.unix;
};
}