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