blob: a3b416ae482e64826f3fe78dd8d146ac9d3d367f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
{
lib,
stdenv,
fetchzip,
zlib,
}:
stdenv.mkDerivation rec {
pname = "braa";
version = "0.82";
src = fetchzip {
url = "http://s-tech.elsat.net.pl/${pname}/${pname}-${version}.tar.gz";
hash = "sha256-GS3kk432BdGx/sLzzjXvotD9Qn4S3U4XtMmM0fWMhGA=";
};
buildInputs = [zlib];
installPhase = ''
runHook preInstall
install -Dm755 braa $out/bin/braa
runHook postInstall
'';
meta = with lib; {
description = "Mass snmp scanner";
homepage = "http://s-tech.elsat.net.pl";
license = licenses.gpl2Only;
platforms = platforms.unix;
maintainers = with maintainers; [bycEEE];
mainProgram = "braa";
};
}
|