Skip to content

Commit 0648922

Browse files
authored
hydra-check: 1.3.5 -> 2.0.1 (#359514)
2 parents aa35b51 + b01235e commit 0648922

File tree

5 files changed

+53
-49
lines changed

5 files changed

+53
-49
lines changed
Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
{
2+
lib,
3+
rustPlatform,
4+
fetchFromGitHub,
5+
pkg-config,
6+
openssl,
7+
stdenv,
8+
installShellFiles,
9+
}:
10+
11+
rustPlatform.buildRustPackage rec {
12+
pname = "hydra-check";
13+
version = "2.0.1";
14+
15+
src = fetchFromGitHub {
16+
owner = "nix-community";
17+
repo = "hydra-check";
18+
rev = "v${version}";
19+
hash = "sha256-QdCXToHNymOdlTyQjk9eo7LTznGKB+3pIOgjjaGoTXg=";
20+
};
21+
22+
cargoHash = "sha256-iqFUMok36G1qSUbfY7WD6etY0dtfro3F7mLoOELzxbs=";
23+
24+
nativeBuildInputs = [
25+
pkg-config
26+
installShellFiles
27+
];
28+
29+
buildInputs = [
30+
openssl
31+
];
32+
33+
postInstall = lib.optionalString (stdenv.buildPlatform.canExecute stdenv.hostPlatform) ''
34+
installShellCompletion --cmd hydra-check \
35+
--bash <($out/bin/hydra-check --shell-completion bash) \
36+
--fish <($out/bin/hydra-check --shell-completion fish) \
37+
--zsh <($out/bin/hydra-check --shell-completion zsh)
38+
'';
39+
40+
meta = {
41+
description = "Check hydra for the build status of a package";
42+
homepage = "https://github.com/nix-community/hydra-check";
43+
license = lib.licenses.mit;
44+
maintainers = with lib.maintainers; [
45+
makefu
46+
artturin
47+
bryango
48+
doronbehar
49+
];
50+
mainProgram = "hydra-check";
51+
};
52+
}

pkgs/development/python-modules/hydra-check/default.nix

Lines changed: 0 additions & 45 deletions
This file was deleted.

pkgs/top-level/all-packages.nix

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9462,8 +9462,6 @@ with pkgs;
94629462

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

9465-
hydra-check = with python3.pkgs; toPythonApplication hydra-check;
9466-
94679465
icu-versions = callPackages ../development/libraries/icu { };
94689466
inherit (icu-versions)
94699467
icu60

pkgs/top-level/python-aliases.nix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -274,6 +274,7 @@ mapAliases ({
274274
htmllaundry = throw "htmllaundry has been removed because it is abandoned"; # added 2024-06-04
275275
HTSeq = htseq; # added 2023-02-19
276276
hyperkitty = throw "Please use pkgs.mailmanPackages.hyperkitty"; # added 2022-04-29
277+
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
277278
ihatemoney = throw "ihatemoney was removed because it is no longer maintained downstream"; # added 2023-04-08
278279
IMAPClient = imapclient; # added 2021-10-28
279280
imdbpy = throw "imdbpy has been renamed to cinemagoer"; # added 2022-08-08

pkgs/top-level/python-packages.nix

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6075,8 +6075,6 @@ self: super: with self; {
60756075

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

6078-
hydra-check = callPackage ../development/python-modules/hydra-check { };
6079-
60806078
hydrawiser = callPackage ../development/python-modules/hydrawiser { };
60816079

60826080
hydrogram = callPackage ../development/python-modules/hydrogram { };

0 commit comments

Comments
 (0)