xxd: init at 8.0.0442

This commit is contained in:
Peter Hoeg 2017-07-23 23:58:11 +08:00
parent 1d1735ce0f
commit dcd6467936
2 changed files with 18 additions and 0 deletions

View File

@ -0,0 +1,16 @@
{ stdenv, vim }:
stdenv.mkDerivation rec {
name = "xxd-${version}";
inherit (vim) version;
phases = [ "installPhase" ];
installPhase = ''
mkdir -p $out/{bin,share/man/man1}
install -m755 ${stdenv.lib.getBin vim}/bin/xxd $out/bin/xxd
install -m644 ${stdenv.lib.getBin vim}/share/man/man1/xxd.1.gz $out/share/man/man1/xxd.1.gz
'';
meta = with stdenv.lib; {
description = "Make a hexdump or do the reverse.";
inherit (vim.meta) homepage license maintainers platforms;
};
}

View File

@ -16443,6 +16443,8 @@ with pkgs;
flags = [ "python" "X11" ]; # only flag "X11" by now
});
xxd = callPackage ../tools/misc/xxd { };
vimNox = lowPrio (vim_configurable.override { source = "vim-nox"; });
qpdfview = callPackage ../applications/misc/qpdfview {};