python3Packages.hydra-check: init at 1.1.1
This commit is contained in:
parent
5c4f8b3582
commit
382fcf9a09
45
pkgs/development/python-modules/hydra-check/default.nix
Normal file
45
pkgs/development/python-modules/hydra-check/default.nix
Normal file
|
@ -0,0 +1,45 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, pythonOlder
|
||||
, fetchFromGitHub
|
||||
, docopt
|
||||
, requests
|
||||
, beautifulsoup4
|
||||
, black
|
||||
, mypy
|
||||
, flake8
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "hydra-check";
|
||||
version = "1.1.1";
|
||||
disabled = pythonOlder "3.5";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "nix-community";
|
||||
repo = "hydra-check";
|
||||
rev = version;
|
||||
sha256 = "1dmsscsib8ckp496gsfqxmq8d35zs71n99xmziq9iprvy7n5clq2";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
docopt
|
||||
requests
|
||||
beautifulsoup4
|
||||
];
|
||||
|
||||
checkInputs = [ mypy ];
|
||||
|
||||
checkPhase = ''
|
||||
echo -e "\x1b[32m## run mypy\x1b[0m"
|
||||
mypy hydracheck
|
||||
'';
|
||||
|
||||
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 ];
|
||||
};
|
||||
}
|
||||
|
|
@ -12117,6 +12117,8 @@ in
|
|||
|
||||
hydraAntLogger = callPackage ../development/libraries/java/hydra-ant-logger { };
|
||||
|
||||
hydra-check = with python3.pkgs; toPythonApplication hydra-check;
|
||||
|
||||
hyena = callPackage ../development/libraries/hyena { };
|
||||
|
||||
hyperscan = callPackage ../development/libraries/hyperscan { };
|
||||
|
|
|
@ -4008,6 +4008,8 @@ in {
|
|||
|
||||
hypothesis = callPackage ../development/python-modules/hypothesis { };
|
||||
|
||||
hydra-check = callPackage ../development/python-modules/hydra-check { };
|
||||
|
||||
colored = callPackage ../development/python-modules/colored { };
|
||||
|
||||
xdg = callPackage ../development/python-modules/xdg { };
|
||||
|
|
Loading…
Reference in a new issue