Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions maintainers/maintainer-list.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3292,6 +3292,12 @@
fingerprint = "6C2B 55D4 4E04 8266 6B7D DA1A 422E 9EDA E015 7170";
}];
};
silviogutierrez = {
email = "silviogutierrez@gmail.com";
github = "silviogutierrez";
githubId = 92824;
name = "Silvio Gutierrez";
};
ingenieroariel = {
email = "ariel@nunez.co";
github = "ingenieroariel";
Expand Down
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";
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
pname = "wait-for-it-unstable";
pname = "wait-for-it";

version = "unstable-2020-02-05";

src = fetchFromGitHub {
owner = "vishnubob";
repo = "wait-for-it";
rev = "c096cface5fbd9f2d6b037391dfecae6fde1362e";
sha256 = "1k1il4bk8l2jmfrrcklznc8nbm69qrjgxm20l02k01vhv2m2jc85";
};
phases = [ "unpackPhase" "installPhase" "fixupPhase" ];
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
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 ];
};
Comment on lines +21 to +27
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
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 ];
};
meta = with lib; {
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 = licenses.mit;
maintainers = with 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