summary refs log tree commit diff
path: root/pkgs/servers/endlessh/default.nix
blob: 0e424d1d12257ea54b9b5cac0889bd557e7d30a4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{ 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;
  };
}