nixpkgs/pkgs/tools/admin/sec/default.nix

31 lines
706 B
Nix
Raw Normal View History

2014-07-12 12:19:08 +01:00
{ fetchurl, perl, stdenv }:
stdenv.mkDerivation rec {
2014-07-29 21:29:16 +01:00
name = "sec-2.7.6";
2014-07-12 12:19:08 +01:00
src = fetchurl {
url = "mirror://sourceforge/simple-evcorr/${name}.tar.gz";
2014-07-29 21:29:16 +01:00
sha256 = "1lrssln55p3bmn3d2hl8c5l5ix32bn8065w1cgycwsf7r6fww51p";
2014-07-12 12:19:08 +01:00
};
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;
2014-07-12 12:19:08 +01:00
description = "Simple Event Correlator";
maintainers = [ stdenv.lib.maintainers.tv ];
platforms = stdenv.lib.platforms.all;
};
}