diff options
author | sohalt <sohalt@sohalt.net> | 2020-09-26 12:33:56 +0200 |
---|---|---|
committer | sohalt <sohalt@sohalt.net> | 2020-10-05 00:39:01 +0200 |
commit | 3ed0b84b883dfd68db33297c6dea3cb39afb2777 (patch) | |
tree | 6d95a082d755eb93f74e3c95905540125cbf236b /pkgs/servers/tarssh/default.nix | |
parent | 1e501a4c9b6cba7d09708a0b677be0649421fb1b (diff) |
tarssh: init at 0.4.0
Diffstat (limited to 'pkgs/servers/tarssh/default.nix')
-rw-r--r-- | pkgs/servers/tarssh/default.nix | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/pkgs/servers/tarssh/default.nix b/pkgs/servers/tarssh/default.nix new file mode 100644 index 000000000000..72e636b303f1 --- /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 ; + }; +} |