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