depot/third_party/nixpkgs/pkgs/by-name/br/braa/package.nix
Default email 504525a148 Project import generated by Copybara.
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
2024-01-02 12:29:13 +01:00

32 lines
662 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 = "A mass snmp scanner";
homepage = "http://s-tech.elsat.net.pl";
license = licenses.gpl2Only;
platforms = platforms.unix;
maintainers = with maintainers; [bycEEE];
mainProgram = "braa";
};
}