Files
nixpkgs/pkgs/by-name/hy/hydra-cli/package.nix
Dark Steveneq 646b892680
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
push sheeet
2025-10-09 14:15:47 +02:00

50 lines
988 B
Nix

{
lib,
rustPlatform,
fetchFromGitHub,
pkg-config,
openssl,
testers,
hydra-cli,
}:
rustPlatform.buildRustPackage rec {
pname = "hydra-cli";
version = "0.3.0-unstable-2023-12-20";
src = fetchFromGitHub {
owner = "nlewo";
repo = "hydra-cli";
rev = "dbb6eaa45c362969382bae7142085be769fa14e6";
hash = "sha256-6L+5rkXzjXH9JtLsrJkuV8ZMsm64Q+kcb+2pr1coBK4=";
};
sourceRoot = "${src.name}/hydra-cli";
cargoHash = "sha256-JnfonNdy87Ol6j8x3270RrVv/13vNLEa1n+/aeEbc7U=";
nativeBuildInputs = [ pkg-config ];
buildInputs = [
openssl
];
__darwinAllowLocalNetworking = true;
passthru.tests.version = testers.testVersion {
package = hydra-cli;
version = "0.3.0";
};
meta = {
description = "Client for the Hydra CI";
mainProgram = "hydra-cli";
homepage = "https://github.com/nlewo/hydra-cli";
license = with lib.licenses; [ mit ];
maintainers = with lib.maintainers; [
lewo
aleksana
];
};
}