at 23.11-beta 33 lines 726 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.5.0"; 11 12 src = fetchFromGitHub { 13 owner = "ekzhang"; 14 repo = "bore"; 15 rev = "v${version}"; 16 hash = "sha256-fHCWK/GI/MDbBPCpkgKJlWjFEsl8Ey6IdUZQPnYUfjg="; 17 }; 18 19 cargoHash = "sha256-/k/7/mCD0abspPr+GGk/8ovnWl85OsmJtzirmfVxDNo="; 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}