2021-01-15 22:18:51 +00:00
|
|
|
{ fetchFromGitHub, perl, lib, stdenv }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2021-07-14 22:03:04 +00:00
|
|
|
pname = "sec";
|
2023-07-15 17:15:38 +00:00
|
|
|
version = "2.9.2";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "simple-evcorr";
|
|
|
|
repo = "sec";
|
2021-07-14 22:03:04 +00:00
|
|
|
rev = version;
|
2023-07-15 17:15:38 +00:00
|
|
|
sha256 = "sha256-s5xalQfZIrvj8EcLvN0swpYBgRhE1YUoPmQYVFB0lWA=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ perl ];
|
|
|
|
|
|
|
|
dontBuild = false;
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
mkdir -p $out/bin $out/share/man/man1
|
|
|
|
cp sec $out/bin
|
|
|
|
cp sec.man $out/share/man/man1/sec.1
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = "https://simple-evcorr.github.io";
|
2024-05-15 15:35:15 +00:00
|
|
|
license = lib.licenses.gpl2Plus;
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Simple Event Correlator";
|
2021-01-15 22:18:51 +00:00
|
|
|
maintainers = [ lib.maintainers.tv ];
|
|
|
|
platforms = lib.platforms.all;
|
2024-02-29 20:09:43 +00:00
|
|
|
mainProgram = "sec";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|