arping: clarify license
This commit is contained in:
parent
263163634b
commit
c553c7b8fa
|
@ -1,25 +1,36 @@
|
||||||
{ lib, stdenv, fetchFromGitHub, autoreconfHook, libnet, libpcap }:
|
{ lib
|
||||||
|
, stdenv
|
||||||
|
, fetchFromGitHub
|
||||||
|
, autoreconfHook
|
||||||
|
, libnet
|
||||||
|
, libpcap
|
||||||
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
version = "2.23";
|
|
||||||
pname = "arping";
|
pname = "arping";
|
||||||
|
version = "2.23";
|
||||||
buildInputs = [ libnet libpcap ];
|
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "ThomasHabets";
|
owner = "ThomasHabets";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "${pname}-${version}";
|
rev = "${pname}-${version}";
|
||||||
sha256 = "sha256-Yn0EFb23VJvcVluQhwGHg9cdnZ8LKlBEds7cq8Irftc=";
|
hash = "sha256-Yn0EFb23VJvcVluQhwGHg9cdnZ8LKlBEds7cq8Irftc=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ autoreconfHook ];
|
nativeBuildInputs = [
|
||||||
|
autoreconfHook
|
||||||
|
];
|
||||||
|
|
||||||
|
buildInputs = [
|
||||||
|
libnet
|
||||||
|
libpcap
|
||||||
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Broadcasts a who-has ARP packet on the network and prints answers";
|
description = "Broadcasts a who-has ARP packet on the network and prints answers";
|
||||||
homepage = "https://github.com/ThomasHabets/arping";
|
homepage = "https://github.com/ThomasHabets/arping";
|
||||||
license = with licenses; [ gpl2 ];
|
license = with licenses; [ gpl2Plus ];
|
||||||
maintainers = [ maintainers.michalrus ];
|
maintainers = with maintainers; [ michalrus ];
|
||||||
platforms = platforms.unix;
|
platforms = platforms.unix;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue