Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hydra-check: 1.3.5 -> 2.0.1 #359514

Merged
merged 2 commits into from
Dec 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
52 changes: 52 additions & 0 deletions pkgs/by-name/hy/hydra-check/package.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
{
lib,
rustPlatform,
fetchFromGitHub,
pkg-config,
openssl,
stdenv,
installShellFiles,
}:

rustPlatform.buildRustPackage rec {
pname = "hydra-check";
version = "2.0.1";

src = fetchFromGitHub {
owner = "nix-community";
repo = "hydra-check";
rev = "v${version}";
hash = "sha256-QdCXToHNymOdlTyQjk9eo7LTznGKB+3pIOgjjaGoTXg=";
};

cargoHash = "sha256-iqFUMok36G1qSUbfY7WD6etY0dtfro3F7mLoOELzxbs=";

nativeBuildInputs = [
pkg-config
installShellFiles
];

buildInputs = [
openssl
];

postInstall = lib.optionalString (stdenv.buildPlatform.canExecute stdenv.hostPlatform) ''
installShellCompletion --cmd hydra-check \
--bash <($out/bin/hydra-check --shell-completion bash) \
--fish <($out/bin/hydra-check --shell-completion fish) \
--zsh <($out/bin/hydra-check --shell-completion zsh)
'';

meta = {
description = "Check hydra for the build status of a package";
homepage = "https://github.com/nix-community/hydra-check";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [
makefu
artturin
bryango
doronbehar
];
mainProgram = "hydra-check";
};
}
45 changes: 0 additions & 45 deletions pkgs/development/python-modules/hydra-check/default.nix

This file was deleted.

2 changes: 0 additions & 2 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -9489,8 +9489,6 @@ with pkgs;

hydra = callPackage ../by-name/hy/hydra/package.nix { nix = nixVersions.nix_2_24; };

hydra-check = with python3.pkgs; toPythonApplication hydra-check;

icu-versions = callPackages ../development/libraries/icu { };
inherit (icu-versions)
icu60
Expand Down
1 change: 1 addition & 0 deletions pkgs/top-level/python-aliases.nix
Original file line number Diff line number Diff line change
Expand Up @@ -274,6 +274,7 @@ mapAliases ({
htmllaundry = throw "htmllaundry has been removed because it is abandoned"; # added 2024-06-04
HTSeq = htseq; # added 2023-02-19
hyperkitty = throw "Please use pkgs.mailmanPackages.hyperkitty"; # added 2022-04-29
hydra-check = throw "The Python package hydra-check was removed in favor of the top-level rust based pkgs.hydra-check"; # added 2022-04-29
ihatemoney = throw "ihatemoney was removed because it is no longer maintained downstream"; # added 2023-04-08
IMAPClient = imapclient; # added 2021-10-28
imdbpy = throw "imdbpy has been renamed to cinemagoer"; # added 2022-08-08
Expand Down
2 changes: 0 additions & 2 deletions pkgs/top-level/python-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6065,8 +6065,6 @@ self: super: with self; {

hydra-core = callPackage ../development/python-modules/hydra-core { };

hydra-check = callPackage ../development/python-modules/hydra-check { };

hydrawiser = callPackage ../development/python-modules/hydrawiser { };

hydrogram = callPackage ../development/python-modules/hydrogram { };
Expand Down
Loading