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 19:20:11 +02:00
{ lib
, stdenv
, rustPlatform
, fetchFromGitHub
, Security
}:
2022-04-10 00:02:15 +02:00
rustPlatform.buildRustPackage rec {
pname = "bore-cli";
2022-05-02 19:20:11 +02:00
version = "0.4.0";
2022-04-10 00:02:15 +02:00
src = fetchFromGitHub {
owner = "ekzhang";
repo = "bore";
rev = "v${version}";
2022-05-02 19:20:11 +02:00
hash = "sha256-ywdJH39OYLaM4st/DIcvvtIUzExpbAucMMpqouJL1yI=";
2022-04-10 00:02:15 +02:00
};
2022-05-02 19:20:11 +02:00
cargoSha256 = "sha256-ZnEVTFiPo3AFyo1BoV88X2nCqYzRK6PkcbawiR+QnV0=";
buildInputs = lib.optional stdenv.isDarwin [
Security
];
2022-04-10 00:02:15 +02: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 19:20:11 +02:00
mainProgram = "bore";
2022-04-10 00:02:15 +02:00
};
}