hydra-check: include types for mypy

This commit is contained in:
superherointj
2021-11-18 14:16:52 +01:00
committed by Sandro Jäckel
parent 08e86542c4
commit 8401031f6b
@@ -6,6 +6,7 @@
, requests
, beautifulsoup4
, mypy
, types-requests
}:
buildPythonPackage rec {
@@ -26,14 +27,17 @@ buildPythonPackage rec {
beautifulsoup4
];
checkInputs = [ mypy ];
checkInputs = [
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";
homepage = "https://github.com/nix-community/hydra-check";
license = licenses.mit;