Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
48 lines
1.0 KiB
Nix
48 lines
1.0 KiB
Nix
{
|
|
lib,
|
|
rustPlatform,
|
|
fetchFromGitHub,
|
|
cmake,
|
|
pkg-config,
|
|
protobuf,
|
|
pcre2,
|
|
nix-update-script,
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage (finalAttrs: {
|
|
pname = "holo-cli";
|
|
version = "0.5.0-unstable-2025-09-22";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "holo-routing";
|
|
repo = "holo-cli";
|
|
rev = "7d99e7de5eb5226728ee57153c03362c90eb65b2";
|
|
hash = "sha256-O509LNSpak+MJPQheYLPtJQcNGPyZLMHMasKScoVnls=";
|
|
};
|
|
|
|
cargoHash = "sha256-bsoxWjOMzRRtFGEaaqK0/adhGpDcejCIY0Pzw1HjQ5U=";
|
|
passthru.updateScript = nix-update-script { extraArgs = [ "--version=branch" ]; };
|
|
|
|
# Use rust nightly features
|
|
RUSTC_BOOTSTRAP = 1;
|
|
|
|
nativeBuildInputs = [
|
|
cmake
|
|
pkg-config
|
|
protobuf
|
|
];
|
|
buildInputs = [
|
|
pcre2
|
|
];
|
|
|
|
meta = {
|
|
description = "Holo` Command Line Interface";
|
|
homepage = "https://github.com/holo-routing/holo-cli";
|
|
teams = with lib.teams; [ ngi ];
|
|
maintainers = with lib.maintainers; [ themadbit ];
|
|
license = lib.licenses.mit;
|
|
mainProgram = "holo-cli";
|
|
platforms = lib.platforms.all;
|
|
};
|
|
})
|