2021-01-15 10:19:50 +01:00
|
|
|
{ fetchFromGitHub, perl, lib, stdenv }:
|
2014-07-12 13:19:08 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2018-10-05 15:32:51 +02:00
|
|
|
name = "sec-${meta.version}";
|
2014-07-12 13:19:08 +02:00
|
|
|
|
2018-10-05 15:32:51 +02:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "simple-evcorr";
|
|
|
|
repo = "sec";
|
|
|
|
rev = meta.version;
|
2020-05-10 18:05:46 +02:00
|
|
|
sha256 = "0ryic5ilj1i5l41440i0ss6j3yv796fz3gr0qij5pqyd1z21md83";
|
2014-07-12 13:19:08 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ perl ];
|
|
|
|
|
2016-05-04 12:08:35 +02:00
|
|
|
dontBuild = false;
|
|
|
|
doCheck = false;
|
|
|
|
|
2014-07-12 13:19:08 +02: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 03:11:51 +02:00
|
|
|
homepage = "https://simple-evcorr.github.io";
|
2021-01-15 10:19:50 +01:00
|
|
|
license = lib.licenses.gpl2;
|
2014-07-12 13:19:08 +02:00
|
|
|
description = "Simple Event Correlator";
|
2021-01-15 10:19:50 +01:00
|
|
|
maintainers = [ lib.maintainers.tv ];
|
|
|
|
platforms = lib.platforms.all;
|
2020-05-10 18:05:46 +02:00
|
|
|
version = "2.8.3";
|
2014-07-12 13:19:08 +02:00
|
|
|
};
|
|
|
|
}
|