bore-cli: 0.2.3 -> 0.4.0

This commit is contained in:
Fabian Affolter 2022-05-02 19:20:11 +02:00
parent 887cf48b06
commit fe2be5eec2
2 changed files with 19 additions and 5 deletions

View file

@ -1,17 +1,26 @@
{ lib, rustPlatform, fetchFromGitHub }:
{ lib
, stdenv
, rustPlatform
, fetchFromGitHub
, Security
}:
rustPlatform.buildRustPackage rec {
pname = "bore-cli";
version = "0.2.3";
version = "0.4.0";
src = fetchFromGitHub {
owner = "ekzhang";
repo = "bore";
rev = "v${version}";
sha256 = "sha256-KSJ5KYXOwjtK1oE9IpsVKb7H4uuKJroCpM1Dk+2XJlY=";
hash = "sha256-ywdJH39OYLaM4st/DIcvvtIUzExpbAucMMpqouJL1yI=";
};
cargoSha256 = "sha256-HPMEbHDRmsmcr7Fuhsyr+NkdI9t1sL7q8uzj8sFks0s=";
cargoSha256 = "sha256-ZnEVTFiPo3AFyo1BoV88X2nCqYzRK6PkcbawiR+QnV0=";
buildInputs = lib.optional stdenv.isDarwin [
Security
];
# tests do not find grcov path correctly
meta = with lib; {
@ -19,5 +28,6 @@ rustPlatform.buildRustPackage rec {
homepage = "https://github.com/ekzhang/bore";
license = licenses.mit;
maintainers = with maintainers; [ DieracDelta ];
mainProgram = "bore";
};
}

View file

@ -14987,7 +14987,11 @@ with pkgs;
libodb = callPackage ../development/libraries/libodb { };
libodb-sqlite = callPackage ../development/libraries/libodb-sqlite { };
bdep = callPackage ../development/tools/build-managers/build2/bdep.nix { };
bore-cli = callPackage ../tools/networking/bore-cli/default.nix {};
bore-cli = callPackage ../tools/networking/bore-cli/default.nix {
inherit (darwin.apple_sdk.frameworks) Security;
};
bpkg = callPackage ../development/tools/build-managers/build2/bpkg.nix { };
buildkite-agent = callPackage ../development/tools/continuous-integration/buildkite-agent { };