-
-
Notifications
You must be signed in to change notification settings - Fork 14.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
wait-for-it: init at unstable-2020-02-05
- Loading branch information
1 parent
440d1c3
commit 0bdbba1
Showing
2 changed files
with
30 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 ]; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters