summary refs log tree commit diff
diff options
context:
space:
mode:
authorBrian Choy <bycEEE@gmail.com>2023-11-02 12:36:16 -0700
committerBrian Choy <bycEEE@gmail.com>2023-11-02 15:36:24 -0700
commit3843bb6617b072872b26bc9af5177d63422fb743 (patch)
tree5dbd88684e3d46942cc70ef8c5c4401aef793cb6
parent9349221b035e3fe45e191fcc7994bf07824a55c3 (diff)
downloadnixpkgs-3843bb6617b072872b26bc9af5177d63422fb743.tar
nixpkgs-3843bb6617b072872b26bc9af5177d63422fb743.tar.gz
nixpkgs-3843bb6617b072872b26bc9af5177d63422fb743.tar.bz2
nixpkgs-3843bb6617b072872b26bc9af5177d63422fb743.tar.lz
nixpkgs-3843bb6617b072872b26bc9af5177d63422fb743.tar.xz
nixpkgs-3843bb6617b072872b26bc9af5177d63422fb743.tar.zst
nixpkgs-3843bb6617b072872b26bc9af5177d63422fb743.zip
braa: init at 0.82
-rw-r--r--pkgs/by-name/br/braa/package.nix32
1 files changed, 32 insertions, 0 deletions
diff --git a/pkgs/by-name/br/braa/package.nix b/pkgs/by-name/br/braa/package.nix
new file mode 100644
index 00000000000..380a829f811
--- /dev/null
+++ b/pkgs/by-name/br/braa/package.nix
@@ -0,0 +1,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 = "A mass snmp scanner";
+    homepage = "http://s-tech.elsat.net.pl";
+    license = licenses.gpl2Only;
+    platforms = platforms.unix;
+    maintainers = with maintainers; [bycEEE];
+    mainProgram = "braa";
+  };
+}