hydra-check: 1.2.0 -> 1.3.4

This commit is contained in:
Artturin 2022-04-22 17:08:29 +03:00 committed by Jonathan Ringer
parent f687a5d395
commit 6ca65957c9
2 changed files with 13 additions and 20 deletions

View file

@ -2,46 +2,39 @@
, buildPythonPackage , buildPythonPackage
, pythonOlder , pythonOlder
, fetchFromGitHub , fetchFromGitHub
, docopt , poetry-core
, requests , requests
, beautifulsoup4 , beautifulsoup4
, mypy , colorama
, types-requests
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "hydra-check"; pname = "hydra-check";
version = "1.2.0"; version = "1.3.4";
disabled = pythonOlder "3.5"; format = "pyproject";
disabled = pythonOlder "3.10";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "nix-community"; owner = "nix-community";
repo = pname; repo = pname;
rev = version; rev = "v${version}";
sha256 = "EegoQ8qTrFGFYbCDsbAOE4Afg9haLjYdC0Cux/yvSk8="; sha256 = "sha256-voSbpOPJUPjwzdMLVt2TC/FIi6LKk01PLd/GczOAUR8=";
}; };
nativeBuildInputs = [ poetry-core ];
propagatedBuildInputs = [ propagatedBuildInputs = [
docopt colorama
requests requests
beautifulsoup4 beautifulsoup4
]; ];
checkInputs = [ pythonImportsCheck = [ "hydra_check" ];
mypy
types-requests
];
checkPhase = ''
echo -e "\x1b[32m## run mypy\x1b[0m"
mypy hydracheck
'';
meta = with lib; { meta = with lib; {
description = "check hydra for the build status of a package"; description = "check hydra for the build status of a package";
homepage = "https://github.com/nix-community/hydra-check"; homepage = "https://github.com/nix-community/hydra-check";
license = licenses.mit; license = licenses.mit;
maintainers = with maintainers; [ makefu ]; maintainers = with maintainers; [ makefu artturin ];
}; };
} }

View file

@ -17724,7 +17724,7 @@ with pkgs;
hydraAntLogger = callPackage ../development/libraries/java/hydra-ant-logger { }; hydraAntLogger = callPackage ../development/libraries/java/hydra-ant-logger { };
hydra-check = with python3.pkgs; toPythonApplication hydra-check; hydra-check = with python310.pkgs; toPythonApplication hydra-check;
hyena = callPackage ../development/libraries/hyena { }; hyena = callPackage ../development/libraries/hyena { };