nixpkgs/pkgs/servers/endlessh/default.nix

24 lines
558 B
Nix
Raw Normal View History

2019-05-21 03:00:00 +02:00
{ 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;
};
}