3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/servers/tarssh/default.nix
2023-11-24 21:01:03 +01:00

25 lines
638 B
Nix

{ fetchFromGitHub, rustPlatform, lib }:
rustPlatform.buildRustPackage rec {
pname = "tarssh";
version = "0.7.0";
src = fetchFromGitHub {
rev = "v${version}";
owner = "Freaky";
repo = pname;
sha256 = "sha256-AoKc8VF6rqYIsijIfgvevwu+6+suOO7XQCXXgAPNgLk=";
};
cargoSha256 = "sha256-w1MNsMSGONsAAjyvAHjio2K88j1sqyP1Aqmw3EMya+c=";
meta = with 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 ;
mainProgram = "tarssh";
};
}