Merge pull request #142365 from figsoda/timelimit

timelimit: init at 1.9.2
This commit is contained in:
figsoda 2021-10-20 18:28:23 -04:00 committed by GitHub
commit ca549f3bfc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 30 additions and 0 deletions

View File

@ -0,0 +1,28 @@
{ lib, stdenv, fetchFromGitLab, perl }:
stdenv.mkDerivation rec {
pname = "timelimit";
version = "1.9.2";
src = fetchFromGitLab {
owner = "timelimit";
repo = pname;
rev = "release/${version}";
sha256 = "sha256-5IEAF8zCKaCVH6BAxjoa/2rrue9pRGBBkFzN57d+g+g=";
};
checkInputs = [ perl ];
doCheck = true;
installFlags = [ "PREFIX=$(out)" ];
INSTALL_PROGRAM = "install -m755";
INSTALL_DATA = "install -m644";
meta = with lib; {
description = "Execute a command and terminates the spawned process after a given time with a given signal";
homepage = "https://devel.ringlet.net/sysutils/timelimit/";
license = licenses.bsd2;
platforms = platforms.all;
maintainers = with maintainers; [ figsoda ];
};
}

View File

@ -28121,6 +28121,8 @@ with pkgs;
fftw = fftwSinglePrec;
};
timelimit = callPackage ../tools/misc/timelimit { };
timewarrior = callPackage ../applications/misc/timewarrior { };
timew-sync-server = callPackage ../applications/misc/timew-sync-server { };