2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub }:
|
2019-05-21 02:00:00 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "endlessh";
|
2020-01-31 17:00:00 +00:00
|
|
|
version = "1.1";
|
2019-05-21 02:00:00 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "skeeto";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2020-01-31 17:00:00 +00:00
|
|
|
sha256 = "0ziwr8j1frsp3dajr8h5glkm1dn5cci404kazz5w1jfrp0736x68";
|
2019-05-21 02:00:00 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
makeFlags = [ "PREFIX=$(out)" ];
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2019-05-21 02:00:00 +01:00
|
|
|
description = "SSH tarpit that slowly sends an endless banner";
|
|
|
|
homepage = "https://github.com/skeeto/endlessh";
|
2020-01-31 17:00:00 +00:00
|
|
|
changelog = "https://github.com/skeeto/endlessh/releases/tag/${version}";
|
2019-05-21 02:00:00 +01:00
|
|
|
license = licenses.unlicense;
|
|
|
|
maintainers = [ maintainers.marsam ];
|
|
|
|
platforms = platforms.unix;
|
|
|
|
};
|
|
|
|
}
|