1 { lib, stdenv, fetchFromGitLab, perl }:
3 stdenv.mkDerivation rec {
7 src = fetchFromGitLab {
10 rev = "release/${version}";
11 sha256 = "sha256-5IEAF8zCKaCVH6BAxjoa/2rrue9pRGBBkFzN57d+g+g=";
14 checkInputs = [ perl ];
17 installFlags = [ "PREFIX=$(out)" ];
18 INSTALL_PROGRAM = "install -m755";
19 INSTALL_DATA = "install -m644";
22 description = "Execute a command and terminates the spawned process after a given time with a given signal";
23 homepage = "https://devel.ringlet.net/sysutils/timelimit/";
24 license = licenses.bsd2;
25 platforms = platforms.all;
26 maintainers = with maintainers; [ figsoda ];