Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at litex 23 lines 610 B view raw
1{ fetchFromGitHub, rustPlatform, lib }: 2 3rustPlatform.buildRustPackage rec { 4 pname = "tarssh"; 5 version = "0.7.0"; 6 7 src = fetchFromGitHub { 8 rev = "v${version}"; 9 owner = "Freaky"; 10 repo = pname; 11 sha256 = "sha256-AoKc8VF6rqYIsijIfgvevwu+6+suOO7XQCXXgAPNgLk="; 12 }; 13 14 cargoSha256 = "sha256-w1MNsMSGONsAAjyvAHjio2K88j1sqyP1Aqmw3EMya+c="; 15 16 meta = with lib; { 17 description = "A simple SSH tarpit inspired by endlessh"; 18 homepage = "https://github.com/Freaky/tarssh"; 19 license = [ licenses.mit ]; 20 maintainers = with maintainers; [ sohalt ]; 21 platforms = platforms.unix ; 22 }; 23}