depot/third_party/nixpkgs/pkgs/servers/tarssh/default.nix
Default email a4fd2de975 Project import generated by Copybara.
GitOrigin-RevId: 34ad166a830d3ac1541dcce571c52231f2f0865a
2020-11-02 21:18:15 -05:00

25 lines
629 B
Nix

{ 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 ;
};
}