nixpkgs/pkgs/tools/admin/sec/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

33 lines
693 B
Nix
Raw Normal View History

2021-01-15 12:19:50 +03:00
{ fetchFromGitHub, perl, lib, stdenv }:
2014-07-12 15:19:08 +04:00
stdenv.mkDerivation rec {
pname = "sec";
2021-08-18 01:56:33 +03:00
version = "2.9.0";
2014-07-12 15:19:08 +04:00
2018-10-05 16:32:51 +03:00
src = fetchFromGitHub {
owner = "simple-evcorr";
repo = "sec";
rev = version;
2021-08-18 01:56:33 +03:00
sha256 = "sha256-WYSlIRhDBIDaza92VqCQcdMNicuRUX2IKY5CJyhswdI=";
2014-07-12 15:19:08 +04:00
};
buildInputs = [ perl ];
dontBuild = false;
doCheck = false;
2014-07-12 15:19:08 +04:00
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";
2021-01-15 12:19:50 +03:00
license = lib.licenses.gpl2;
2014-07-12 15:19:08 +04:00
description = "Simple Event Correlator";
2021-01-15 12:19:50 +03:00
maintainers = [ lib.maintainers.tv ];
platforms = lib.platforms.all;
2014-07-12 15:19:08 +04:00
};
}