51e09efdfc
GitOrigin-RevId: 296793637b22bdb4d23b479879eba0a71c132a66
25 lines
629 B
Nix
25 lines
629 B
Nix
{ fetchFromGitHub, rustPlatform, stdenv }:
|
|
|
|
with rustPlatform;
|
|
|
|
buildRustPackage rec {
|
|
pname = "tarssh";
|
|
version = "0.5.0";
|
|
|
|
src = fetchFromGitHub {
|
|
rev = "v${version}";
|
|
owner = "Freaky";
|
|
repo = pname;
|
|
sha256 = "1waxfbw9lqbqv8igb291pjqg22324lzv4p7fsdfrkvxf95jd2i03";
|
|
};
|
|
|
|
cargoSha256 = "1f3anrh2y8yg7l4nilwk0a7c7kq5yvg07cqh75igjdb5a7p9di0j";
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "A simple SSH tarpit inspired by endlessh";
|
|
homepage = "https://github.com/Freaky/tarssh";
|
|
license = [ licenses.mit ];
|
|
maintainers = with maintainers; [ sohalt ];
|
|
platforms = platforms.unix ;
|
|
};
|
|
}
|