diff --git a/pkgs/servers/tarssh/default.nix b/pkgs/servers/tarssh/default.nix new file mode 100644 index 00000000000..72e636b303f --- /dev/null +++ b/pkgs/servers/tarssh/default.nix @@ -0,0 +1,25 @@ +{ fetchFromGitHub, rustPlatform, stdenv }: + +with rustPlatform; + +buildRustPackage rec { + pname = "tarssh"; + version = "0.4.0"; + + src = fetchFromGitHub { + rev = "v${version}"; + owner = "Freaky"; + repo = pname; + sha256 = "0fm0rwknhm39nhd6g0pnxby34i5gpmi5ri795d9ylsw0pqwz6kd0"; + }; + + cargoSha256 = "108xdpgfgfd4z455snif0mzbla0rv8gjqxci5qgwjzfyshwkprgv"; + + 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 ; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 7b1d6353b04..feff7c5b8aa 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -7323,6 +7323,8 @@ in tarsnapper = callPackage ../tools/backup/tarsnapper { }; + tarssh = callPackage ../servers/tarssh { }; + tartube = callPackage ../applications/video/tartube { }; tayga = callPackage ../tools/networking/tayga { };