2021-01-15 22:18:51 +00:00
|
|
|
{ fetchFromGitHub, rustPlatform, lib, stdenv }:
|
2020-11-03 02:18:15 +00:00
|
|
|
|
|
|
|
with rustPlatform;
|
|
|
|
|
|
|
|
buildRustPackage rec {
|
|
|
|
pname = "tarssh";
|
2020-12-03 08:41:04 +00:00
|
|
|
version = "0.5.0";
|
2020-11-03 02:18:15 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
rev = "v${version}";
|
|
|
|
owner = "Freaky";
|
|
|
|
repo = pname;
|
2020-12-03 08:41:04 +00:00
|
|
|
sha256 = "1waxfbw9lqbqv8igb291pjqg22324lzv4p7fsdfrkvxf95jd2i03";
|
2020-11-03 02:18:15 +00:00
|
|
|
};
|
|
|
|
|
2020-12-03 08:41:04 +00:00
|
|
|
cargoSha256 = "1f3anrh2y8yg7l4nilwk0a7c7kq5yvg07cqh75igjdb5a7p9di0j";
|
2020-11-03 02:18:15 +00:00
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-11-03 02:18:15 +00:00
|
|
|
description = "A simple SSH tarpit inspired by endlessh";
|
|
|
|
homepage = "https://github.com/Freaky/tarssh";
|
|
|
|
license = [ licenses.mit ];
|
|
|
|
maintainers = with maintainers; [ sohalt ];
|
|
|
|
platforms = platforms.unix ;
|
|
|
|
};
|
|
|
|
}
|