at 23.05-pre 33 lines 728 B view raw
1{ lib 2, stdenv 3, rustPlatform 4, fetchFromGitHub 5, Security 6}: 7 8rustPlatform.buildRustPackage rec { 9 pname = "bore-cli"; 10 version = "0.4.1"; 11 12 src = fetchFromGitHub { 13 owner = "ekzhang"; 14 repo = "bore"; 15 rev = "v${version}"; 16 hash = "sha256-h5Xwsr61h52zb5HNPySKVjfYW96Fff7nwZUAL6vK9ko="; 17 }; 18 19 cargoSha256 = "sha256-QyaQM8z5v0LgskkmZ/8ekZwxNrt8sq91BbnjvIqa2nI="; 20 21 buildInputs = lib.optionals stdenv.isDarwin [ 22 Security 23 ]; 24 25 # tests do not find grcov path correctly 26 meta = with lib; { 27 description = "Rust tool to create TCP tunnels"; 28 homepage = "https://github.com/ekzhang/bore"; 29 license = licenses.mit; 30 maintainers = with maintainers; [ DieracDelta ]; 31 mainProgram = "bore"; 32 }; 33}