2021-01-25 09:26:54 +01:00
|
|
|
{ fetchFromGitHub, rustPlatform, lib }:
|
2020-09-26 12:33:56 +02:00
|
|
|
|
2023-04-17 22:27:54 +02:00
|
|
|
rustPlatform.buildRustPackage rec {
|
2020-09-26 12:33:56 +02:00
|
|
|
pname = "tarssh";
|
2021-02-06 22:01:17 +01:00
|
|
|
version = "0.7.0";
|
2020-09-26 12:33:56 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
rev = "v${version}";
|
|
|
|
owner = "Freaky";
|
|
|
|
repo = pname;
|
2021-02-06 22:01:17 +01:00
|
|
|
sha256 = "sha256-AoKc8VF6rqYIsijIfgvevwu+6+suOO7XQCXXgAPNgLk=";
|
2020-09-26 12:33:56 +02:00
|
|
|
};
|
|
|
|
|
2021-05-07 13:00:49 +02:00
|
|
|
cargoSha256 = "sha256-w1MNsMSGONsAAjyvAHjio2K88j1sqyP1Aqmw3EMya+c=";
|
2020-09-26 12:33:56 +02:00
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2020-09-26 12:33:56 +02:00
|
|
|
description = "A simple SSH tarpit inspired by endlessh";
|
|
|
|
homepage = "https://github.com/Freaky/tarssh";
|
|
|
|
license = [ licenses.mit ];
|
|
|
|
maintainers = with maintainers; [ sohalt ];
|
|
|
|
platforms = platforms.unix ;
|
|
|
|
};
|
|
|
|
}
|