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
728 B
Nix
Raw Normal View History

2022-05-02 17:20:11 +00:00
{ lib
, stdenv
, rustPlatform
, fetchFromGitHub
, Security
}:
2022-04-09 22:02:15 +00:00
rustPlatform.buildRustPackage rec {
pname = "bore-cli";
2022-11-13 11:56:10 +00:00
version = "0.4.1";
2022-04-09 22:02:15 +00:00
src = fetchFromGitHub {
owner = "ekzhang";
repo = "bore";
rev = "v${version}";
2022-11-13 11:56:10 +00:00
hash = "sha256-h5Xwsr61h52zb5HNPySKVjfYW96Fff7nwZUAL6vK9ko=";
2022-04-09 22:02:15 +00:00
};
2022-11-13 11:56:10 +00:00
cargoSha256 = "sha256-QyaQM8z5v0LgskkmZ/8ekZwxNrt8sq91BbnjvIqa2nI=";
2022-05-02 17:20:11 +00:00
buildInputs = lib.optionals stdenv.isDarwin [
2022-05-02 17:20:11 +00:00
Security
];
2022-04-09 22:02:15 +00: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 17:20:11 +00:00
mainProgram = "bore";
2022-04-09 22:02:15 +00:00
};
}