1{ lib
2, buildPythonPackage
3, pythonOlder
4, fetchFromGitHub
5, poetry-core
6, requests
7, beautifulsoup4
8, colorama
9}:
10
11buildPythonPackage rec {
12 pname = "hydra-check";
13 version = "1.3.5";
14 format = "pyproject";
15
16 disabled = pythonOlder "3.10";
17
18 src = fetchFromGitHub {
19 owner = "nix-community";
20 repo = pname;
21 rev = "refs/tags/v${version}";
22 hash = "sha256-fRSC+dfZZSBBeN6YidXRKc1kPUbBKz5OiFSHGOSikgI=";
23 };
24
25 nativeBuildInputs = [ poetry-core ];
26 propagatedBuildInputs = [
27 colorama
28 requests
29 beautifulsoup4
30 ];
31
32 pythonImportsCheck = [ "hydra_check" ];
33
34 meta = with lib; {
35 description = "check hydra for the build status of a package";
36 homepage = "https://github.com/nix-community/hydra-check";
37 license = licenses.mit;
38 maintainers = with maintainers; [ makefu artturin ];
39 };
40}