2021-01-15 09:19:50 +00:00
|
|
|
{ fetchFromGitHub, perl, lib, stdenv }:
|
2014-07-12 12:19:08 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2021-07-01 04:49:37 +01:00
|
|
|
pname = "sec";
|
2021-08-17 23:56:33 +01:00
|
|
|
version = "2.9.0";
|
2014-07-12 12:19:08 +01:00
|
|
|
|
2018-10-05 14:32:51 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "simple-evcorr";
|
|
|
|
repo = "sec";
|
2021-07-01 04:49:37 +01:00
|
|
|
rev = version;
|
2021-08-17 23:56:33 +01:00
|
|
|
sha256 = "sha256-WYSlIRhDBIDaza92VqCQcdMNicuRUX2IKY5CJyhswdI=";
|
2014-07-12 12:19:08 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ perl ];
|
|
|
|
|
2016-05-04 11:08:35 +01:00
|
|
|
dontBuild = false;
|
|
|
|
doCheck = false;
|
|
|
|
|
2014-07-12 12:19:08 +01:00
|
|
|
installPhase = ''
|
|
|
|
mkdir -p $out/bin $out/share/man/man1
|
|
|
|
cp sec $out/bin
|
|
|
|
cp sec.man $out/share/man/man1/sec.1
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://simple-evcorr.github.io";
|
2021-01-15 09:19:50 +00:00
|
|
|
license = lib.licenses.gpl2;
|
2014-07-12 12:19:08 +01:00
|
|
|
description = "Simple Event Correlator";
|
2021-01-15 09:19:50 +00:00
|
|
|
maintainers = [ lib.maintainers.tv ];
|
|
|
|
platforms = lib.platforms.all;
|
2014-07-12 12:19:08 +01:00
|
|
|
};
|
|
|
|
}
|