1 { lib, stdenv, fetchurl, ncurses }:
3 stdenv.mkDerivation rec {
8 url = "https://www.muppetlabs.com/~breadbox/pub/software/xcd-${version}.tar.gz";
9 sha256 = "1cgwspy08q05rhxbp7m1yrrix252i9jzfcfbzmhdvlgf5bfpl25g";
12 buildInputs = [ ncurses ];
14 makeFlags = [ "CC=${stdenv.cc.targetPrefix}cc" ];
18 install -D $pname $out/bin/$pname
23 description = "Colorized hexdump tool";
24 homepage = "https://www.muppetlabs.com/~breadbox/software/xcd.html";
25 maintainers = [ maintainers.xfnw ];
26 license = licenses.mit;
27 platforms = platforms.unix;