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

30 lines
681 B
Nix
Raw Normal View History

2014-07-12 15:19:08 +04:00
{ fetchurl, perl, stdenv }:
stdenv.mkDerivation rec {
name = "sec-2.8.0";
2014-07-12 15:19:08 +04:00
src = fetchurl {
url = "mirror://sourceforge/simple-evcorr/${name}.tar.gz";
sha256 = "0q9fhkkh0n0jya4kf5c54smk4xbnv01hqhip2y6fnnj9imwskymz";
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 = http://simple-evcorr.sourceforge.net/;
license = stdenv.lib.licenses.gpl2;
2014-07-12 15:19:08 +04:00
description = "Simple Event Correlator";
maintainers = [ stdenv.lib.maintainers.tv ];
platforms = stdenv.lib.platforms.all;
};
}