Skip to content

Commit

Permalink
wait-for-it: init at unstable-2020-02-05
Browse files Browse the repository at this point in the history
  • Loading branch information
silviogutierrez committed Jun 19, 2020
1 parent 440d1c3 commit 0bdbba1
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 0 deletions.
28 changes: 28 additions & 0 deletions pkgs/tools/networking/wait-for-it/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{ stdenvNoCC, lib, fetchFromGitHub }:

stdenvNoCC.mkDerivation rec {
pname = "wait-for-it-unstable";
version = "unstable-2020-02-05";

src = fetchFromGitHub {
owner = "vishnubob";
repo = "wait-for-it";
rev = "c096cface5fbd9f2d6b037391dfecae6fde1362e";
sha256 = "1k1il4bk8l2jmfrrcklznc8nbm69qrjgxm20l02k01vhv2m2jc85";
};
phases = [ "unpackPhase" "installPhase" "fixupPhase" ];
installPhase = ''
runHook preInstall
install -D ./wait-for-it.sh $out/bin/wait-for-it
runHook postInstall
'';
meta = {
homepage = "https://github.com/vishnubob/wait-for-it";
description =
"Pure bash script to test and wait on the availability of a TCP host and port";
license = lib.licenses.mit;
maintainers = [ lib.maintainers.silviogutierrez ];
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7386,6 +7386,8 @@ in

wakatime = pythonPackages.callPackage ../tools/misc/wakatime { };

wait-for-it = callPackage ../tools/networking/wait-for-it {};

weather = callPackage ../applications/misc/weather { };

wego = callPackage ../applications/misc/wego { };
Expand Down

0 comments on commit 0bdbba1

Please sign in to comment.