nixpkgs/pkgs/servers/endlessh/default.nix

25 lines
636 B
Nix
Raw Normal View History

2019-05-21 02:00:00 +01:00
{ stdenv, fetchFromGitHub }:
stdenv.mkDerivation rec {
pname = "endlessh";
version = "1.1";
2019-05-21 02:00:00 +01:00
src = fetchFromGitHub {
owner = "skeeto";
repo = pname;
rev = version;
sha256 = "0ziwr8j1frsp3dajr8h5glkm1dn5cci404kazz5w1jfrp0736x68";
2019-05-21 02:00:00 +01:00
};
makeFlags = [ "PREFIX=$(out)" ];
meta = with stdenv.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}";
2019-05-21 02:00:00 +01:00
license = licenses.unlicense;
maintainers = [ maintainers.marsam ];
platforms = platforms.unix;
};
}