Merge pull request #61563 from dtzWill/update/horst-5.1
horst: 5.0 -> 5.1, cleanup a bit
This commit is contained in:
commit
d8da169c64
@ -2,25 +2,19 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "horst-${version}";
|
||||
version = "5.0";
|
||||
version = "5.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "br101";
|
||||
repo = "horst";
|
||||
rev = "version-${version}";
|
||||
sha256 = "0m7gc6dj816z8wyq5bdkqj7fw6rmxaah84s34ncsaispz2llva1x";
|
||||
rev = "v${version}";
|
||||
sha256 = "140pyv6rlsh4c745w4b59pz3hrarr39qq3mz9z1lsd3avc12nx1a";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
buildInputs = [ ncurses libnl ];
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin
|
||||
mv horst $out/bin
|
||||
|
||||
mkdir -p $out/man/man1
|
||||
cp horst.1 $out/man/man1
|
||||
'';
|
||||
installFlags = [ "DESTDIR=${placeholder "out"}" ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Small and lightweight IEEE802.11 wireless LAN analyzer with a text interface";
|
||||
|
Loading…
Reference in New Issue
Block a user