nixpkgs/pkgs/servers/tarssh/default.nix

26 lines
617 B
Nix
Raw Normal View History

{ fetchFromGitHub, rustPlatform, lib }:
2020-09-26 10:33:56 +00:00
with rustPlatform;
buildRustPackage rec {
pname = "tarssh";
2021-02-06 21:01:17 +00:00
version = "0.7.0";
2020-09-26 10:33:56 +00:00
src = fetchFromGitHub {
rev = "v${version}";
owner = "Freaky";
repo = pname;
2021-02-06 21:01:17 +00:00
sha256 = "sha256-AoKc8VF6rqYIsijIfgvevwu+6+suOO7XQCXXgAPNgLk=";
2020-09-26 10:33:56 +00:00
};
2021-02-06 21:01:17 +00:00
cargoSha256 = "sha256-7X9klYVZ2yE8BPuLhzWkuT7VFpmdOZGSD0D1x3kBNEs=";
2020-09-26 10:33:56 +00:00
meta = with lib; {
2020-09-26 10:33:56 +00: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 ;
};
}