nixpkgs-suyu/pkgs/servers/endlessh/default.nix
2019-05-21 16:04:21 +09:00

23 lines
558 B
Nix

{ stdenv, fetchFromGitHub }:
stdenv.mkDerivation rec {
pname = "endlessh";
version = "1.0";
src = fetchFromGitHub {
owner = "skeeto";
repo = pname;
rev = version;
sha256 = "186d7hf5p8yc46lmbrh0kxyfi1nrrx9n3w0jd9kh46vfwifjazra";
};
makeFlags = [ "PREFIX=$(out)" ];
meta = with stdenv.lib; {
description = "SSH tarpit that slowly sends an endless banner";
homepage = "https://github.com/skeeto/endlessh";
license = licenses.unlicense;
maintainers = [ maintainers.marsam ];
platforms = platforms.unix;
};
}