2018-10-05 14:32:51 +01:00
|
|
|
{ fetchFromGitHub, perl, stdenv }:
|
2014-07-12 12:19:08 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2018-10-05 14:32:51 +01:00
|
|
|
name = "sec-${meta.version}";
|
2014-07-12 12:19:08 +01:00
|
|
|
|
2018-10-05 14:32:51 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "simple-evcorr";
|
|
|
|
repo = "sec";
|
|
|
|
rev = meta.version;
|
2019-06-18 12:50:53 +01:00
|
|
|
sha256 = "025cz3mr5yrdgs0i3h8v2znhvjkyh78kba1rzvl03ns2b1c49168";
|
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";
|
2014-11-06 00:44:33 +00:00
|
|
|
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;
|
2019-06-18 12:50:53 +01:00
|
|
|
version = "2.8.2";
|
2014-07-12 12:19:08 +01:00
|
|
|
};
|
|
|
|
}
|