uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
33
pkgs/tools/networking/bore-cli/default.nix
Normal file
33
pkgs/tools/networking/bore-cli/default.nix
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
{ lib
|
||||
, stdenv
|
||||
, rustPlatform
|
||||
, fetchFromGitHub
|
||||
, Security
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "bore-cli";
|
||||
version = "0.4.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ekzhang";
|
||||
repo = "bore";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-ywdJH39OYLaM4st/DIcvvtIUzExpbAucMMpqouJL1yI=";
|
||||
};
|
||||
|
||||
cargoSha256 = "sha256-ZnEVTFiPo3AFyo1BoV88X2nCqYzRK6PkcbawiR+QnV0=";
|
||||
|
||||
buildInputs = lib.optional stdenv.isDarwin [
|
||||
Security
|
||||
];
|
||||
|
||||
# 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 ];
|
||||
mainProgram = "bore";
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue