mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-19 02:44:17 +03:00
xxd: remove directory
thanks to @grahamc
This commit is contained in:
parent
9cd122a2c4
commit
7f50e0a686
@ -1,16 +0,0 @@
|
||||
{ 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;
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user