summary refs log tree commit diff
path: root/pkgs/tools/admin/sec/default.nix
blob: 41c83344c14ac670a307f01f817ba5884d998991 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
{ fetchurl, perl, stdenv }:

stdenv.mkDerivation rec {
  name = "sec-2.7.6";

  src = fetchurl {
    url = "mirror://sourceforge/simple-evcorr/${name}.tar.gz";
    sha256 = "1lrssln55p3bmn3d2hl8c5l5ix32bn8065w1cgycwsf7r6fww51p";
  };

  buildInputs = [ perl ];

  configurePhase = ":";
  buildPhase = ":";
  installPhase = ''
    mkdir -p $out/bin $out/share/man/man1
    cp sec $out/bin
    cp sec.man $out/share/man/man1/sec.1
  '';
  doCheck = false;

  meta = {
    homepage = "http://simple-evcorr.sourceforge.net/";
    license = stdenv.lib.licenses.gpl2;
    description = "Simple Event Correlator";
    maintainers = [ stdenv.lib.maintainers.tv ];
    platforms = stdenv.lib.platforms.all;
  };

}