depot/third_party/nixpkgs/pkgs/by-name/br/braa/package.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

32 lines
660 B
Nix

{
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";
};
}