Unverified Commit 78804c0a authored by Artturi's avatar Artturi Committed by GitHub
Browse files

Merge pull request #265083 from bycEEE/braa

parents a2e8e3b7 3843bb66
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -2688,6 +2688,12 @@
    githubId = 61636;
    name = "Brad Langhorst";
  };
  bycEEE = {
    email = "bycEEE@gmail.com";
    github = "bycEEE";
    githubId = 8891115;
    name = "Brian Choy";
  };
  bzizou = {
    email = "Bruno@bzizou.net";
    github = "bzizou";
+32 −0
Original line number Diff line number Diff line
{
  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";
  };
}