uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
28
pkgs/tools/misc/timelimit/default.nix
Normal file
28
pkgs/tools/misc/timelimit/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue