1{ fetchFromGitHub, perl, lib, stdenv }:
2
3stdenv.mkDerivation rec {
4 pname = "sec";
5 version = "2.9.1";
6
7 src = fetchFromGitHub {
8 owner = "simple-evcorr";
9 repo = "sec";
10 rev = version;
11 sha256 = "sha256-DKbh6q0opf749tbGsDMVuI5G2UV7faCHUfddH3SGOpo=";
12 };
13
14 buildInputs = [ perl ];
15
16 dontBuild = false;
17 doCheck = false;
18
19 installPhase = ''
20 mkdir -p $out/bin $out/share/man/man1
21 cp sec $out/bin
22 cp sec.man $out/share/man/man1/sec.1
23 '';
24
25 meta = {
26 homepage = "https://simple-evcorr.github.io";
27 license = lib.licenses.gpl2;
28 description = "Simple Event Correlator";
29 maintainers = [ lib.maintainers.tv ];
30 platforms = lib.platforms.all;
31 };
32}