mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 03:17:13 +00:00
46420bbaa3
treewide replacement of stdenv.mkDerivation rec { name = "*-${version}"; version = "*"; to pname
42 lines
1.5 KiB
Nix
42 lines
1.5 KiB
Nix
{ stdenv, fetchurl, libpcap, bison, flex, cyrus_sasl, tcp_wrappers, pkgconfig, perl }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "argus-clients";
|
|
version = "3.0.8.2";
|
|
|
|
src = fetchurl {
|
|
url = "http://qosient.com/argus/src/${pname}-${version}.tar.gz";
|
|
sha256 = "1c9vj6ma00gqq9h92fg71sxcsjzz912166sdg90ahvnmvmh3l1rj";
|
|
};
|
|
|
|
patchPhase = ''
|
|
for file in ./examples/*/*.pl; do
|
|
substituteInPlace $file \
|
|
--subst-var-by PERLBIN ${perl}/bin/perl
|
|
done
|
|
'';
|
|
|
|
configureFlags = [ "--with-perl=${perl}/bin/perl" ];
|
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
buildInputs = [ libpcap bison cyrus_sasl tcp_wrappers flex ];
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Clients for ARGUS";
|
|
longDescription = ''Clients for Audit Record Generation and
|
|
Utilization System (ARGUS). The Argus Project is focused on developing all
|
|
aspects of large scale network situtational awareness derived from
|
|
network activity audit. Argus, itself, is next-generation network
|
|
flow technology, processing packets, either on the wire or in
|
|
captures, into advanced network flow data. The data, its models,
|
|
formats, and attributes are designed to support Network
|
|
Operations, Performance and Security Management. If you need to
|
|
know what is going on in your network, right now or historically,
|
|
you will find Argus a useful tool. '';
|
|
homepage = http://qosient.com/argus;
|
|
license = licenses.gpl2Plus;
|
|
maintainers = with maintainers; [ leenaars ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|