hydra-check: 1.2.0 -> 1.3.4
This commit is contained in:
parent
f687a5d395
commit
6ca65957c9
2 changed files with 13 additions and 20 deletions
pkgs
|
@ -2,46 +2,39 @@
|
|||
, buildPythonPackage
|
||||
, pythonOlder
|
||||
, fetchFromGitHub
|
||||
, docopt
|
||||
, poetry-core
|
||||
, requests
|
||||
, beautifulsoup4
|
||||
, mypy
|
||||
, types-requests
|
||||
, colorama
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "hydra-check";
|
||||
version = "1.2.0";
|
||||
disabled = pythonOlder "3.5";
|
||||
version = "1.3.4";
|
||||
format = "pyproject";
|
||||
|
||||
disabled = pythonOlder "3.10";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "nix-community";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "EegoQ8qTrFGFYbCDsbAOE4Afg9haLjYdC0Cux/yvSk8=";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-voSbpOPJUPjwzdMLVt2TC/FIi6LKk01PLd/GczOAUR8=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ poetry-core ];
|
||||
propagatedBuildInputs = [
|
||||
docopt
|
||||
colorama
|
||||
requests
|
||||
beautifulsoup4
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
mypy
|
||||
types-requests
|
||||
];
|
||||
|
||||
checkPhase = ''
|
||||
echo -e "\x1b[32m## run mypy\x1b[0m"
|
||||
mypy hydracheck
|
||||
'';
|
||||
pythonImportsCheck = [ "hydra_check" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "check hydra for the build status of a package";
|
||||
homepage = "https://github.com/nix-community/hydra-check";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ makefu ];
|
||||
maintainers = with maintainers; [ makefu artturin ];
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
@ -17724,7 +17724,7 @@ with pkgs;
|
|||
|
||||
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 { };
|
||||
|
||||
|
|
Loading…
Reference in a new issue