xxd: init at 8.0.0442
This commit is contained in:
parent
1d1735ce0f
commit
dcd6467936
16
pkgs/tools/misc/xxd/default.nix
Normal file
16
pkgs/tools/misc/xxd/default.nix
Normal 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;
|
||||
};
|
||||
}
|
@ -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 {};
|
||||
|
Loading…
Reference in New Issue
Block a user