3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/networking/bore-cli/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

34 lines
727 B
Nix
Raw Normal View History

2022-05-02 18:20:11 +01:00
{ lib
, stdenv
, rustPlatform
, fetchFromGitHub
, Security
}:
2022-04-09 23:02:15 +01:00
rustPlatform.buildRustPackage rec {
pname = "bore-cli";
2022-05-02 18:20:11 +01:00
version = "0.4.0";
2022-04-09 23:02:15 +01:00
src = fetchFromGitHub {
owner = "ekzhang";
repo = "bore";
rev = "v${version}";
2022-05-02 18:20:11 +01:00
hash = "sha256-ywdJH39OYLaM4st/DIcvvtIUzExpbAucMMpqouJL1yI=";
2022-04-09 23:02:15 +01:00
};
2022-05-02 18:20:11 +01:00
cargoSha256 = "sha256-ZnEVTFiPo3AFyo1BoV88X2nCqYzRK6PkcbawiR+QnV0=";
buildInputs = lib.optional stdenv.isDarwin [
Security
];
2022-04-09 23:02:15 +01:00
# tests do not find grcov path correctly
meta = with lib; {
description = "Rust tool to create TCP tunnels";
homepage = "https://github.com/ekzhang/bore";
license = licenses.mit;
maintainers = with maintainers; [ DieracDelta ];
2022-05-02 18:20:11 +01:00
mainProgram = "bore";
2022-04-09 23:02:15 +01:00
};
}