nixpkgs/pkgs/servers/tarssh/default.nix
Alexis Hildebrandt 755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00

25 lines
636 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 = "Simple SSH tarpit inspired by endlessh";
homepage = "https://github.com/Freaky/tarssh";
license = [ licenses.mit ];
maintainers = with maintainers; [ sohalt ];
platforms = platforms.unix ;
mainProgram = "tarssh";
};
}