My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/servers/endlessh/default.nix

24 lines
634 B

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