13 rustPlatform.buildRustPackage rec {
15 version = "0.3.0-unstable-2023-12-20";
17 src = fetchFromGitHub {
20 rev = "dbb6eaa45c362969382bae7142085be769fa14e6";
21 hash = "sha256-6L+5rkXzjXH9JtLsrJkuV8ZMsm64Q+kcb+2pr1coBK4=";
24 sourceRoot = "${src.name}/hydra-cli";
26 cargoHash = "sha256-WokdTMNA7MrbFcKNeFIRU2Tw6LyM80plDoZPX1v/hrc=";
28 nativeBuildInputs = [ pkg-config ];
32 ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ darwin.apple_sdk.frameworks.Security ];
34 __darwinAllowLocalNetworking = true;
36 passthru.tests.version = testers.testVersion {
42 description = "Client for the Hydra CI";
43 mainProgram = "hydra-cli";
44 homepage = "https://github.com/nlewo/hydra-cli";
45 license = with lib.licenses; [ mit ];
46 maintainers = with lib.maintainers; [