2018-10-05 15:32:51 +02:00
|
|
|
{ fetchFromGitHub, perl, 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;
|
|
|
|
sha256 = "17qzw7k1r3svagaf6jb7166grwqsyxwd6p23b2m9q9h3ggcwynp9";
|
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 = {
|
2018-10-05 15:32:51 +02:00
|
|
|
homepage = https://simple-evcorr.github.io;
|
2014-11-06 01:44:33 +01:00
|
|
|
license = stdenv.lib.licenses.gpl2;
|
2014-07-12 13:19:08 +02:00
|
|
|
description = "Simple Event Correlator";
|
|
|
|
maintainers = [ stdenv.lib.maintainers.tv ];
|
|
|
|
platforms = stdenv.lib.platforms.all;
|
2018-10-05 15:32:51 +02:00
|
|
|
version = "2.8.1";
|
2014-07-12 13:19:08 +02:00
|
|
|
};
|
|
|
|
}
|