mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-29 09:04:17 +00:00
571c71e6f7
We are migrating packages that meet below requirements: 1. using `callPackage` 2. called path is a directory 3. overriding set is empty (`{ }`) 4. not containing path expressions other than relative path (to makenixpkgs-vet happy) 5. not referenced by nix files outside of the directory, other than`pkgs/top-level/all-packages.nix` 6. not referencing nix files outside of the directory 7. not referencing `default.nix` (since it's changed to `package.nix`) 8. `outPath` doesn't change after migration The tool is here: https://github.com/Aleksanaa/by-name-migrate.
46 lines
1.6 KiB
Nix
46 lines
1.6 KiB
Nix
{ lib, stdenv, fetchurl, libpcap, bison, flex, cyrus_sasl, tcp_wrappers, pkg-config, perl, libtirpc, libnsl }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "argus-clients";
|
|
version = "3.0.8.3";
|
|
|
|
src = fetchurl {
|
|
url = "http://qosient.com/argus/src/${pname}-${version}.tar.gz";
|
|
sha256 = "sha256-uNTvi6zbrYHAivQMPkhlNCoqRW9GOkgKvCf3mInds80=";
|
|
};
|
|
|
|
env.NIX_CFLAGS_COMPILE = toString [ "-I${libtirpc.dev}/include/tirpc" ];
|
|
|
|
postPatch = ''
|
|
for file in ./examples/*/*.pl; do
|
|
substituteInPlace $file \
|
|
--subst-var-by PERLBIN ${perl}/bin/perl
|
|
done
|
|
'';
|
|
|
|
configureFlags = [ "--with-perl=${perl}/bin/perl" ];
|
|
|
|
nativeBuildInputs = [ pkg-config ];
|
|
buildInputs = [ libpcap bison cyrus_sasl tcp_wrappers flex libnsl ];
|
|
|
|
meta = with 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;
|
|
};
|
|
}
|