pythonPackages.hydra: init at 1.4.1

This commit is contained in:
Ben Darwin 2020-01-09 22:34:07 -05:00 committed by Jon
parent 60c03fb380
commit ee7d45c638
2 changed files with 31 additions and 0 deletions

View File

@ -0,0 +1,29 @@
{ lib, buildPythonPackage, fetchFromGitHub, isPy27, pytest, omegaconf, pathlib2 }:
buildPythonPackage rec {
pname = "hydra";
version = "0.11.3";
src = fetchFromGitHub {
owner = "facebookresearch";
repo = pname;
rev = version;
sha256 = "0plbls65qfrvvigza3qvy0pwjzgkz8ylpgb1im14k3b125ny41ad";
};
checkInputs = [ pytest ];
propagatedBuildInputs = [ omegaconf ] ++ lib.optional isPy27 pathlib2;
checkPhase = ''
runHook preCheck
pytest tests/
runHook postCheck
'';
meta = with lib; {
description = "A framework for configuring complex applications";
homepage = https://hydra.cc;
license = licenses.mit;
maintainers = with maintainers; [ bcdarwin ];
};
}

View File

@ -3737,6 +3737,8 @@ in {
hvac = callPackage ../development/python-modules/hvac { };
hydra = callPackage ../development/python-modules/hydra { };
hypothesis = callPackage ../development/python-modules/hypothesis { };
colored = callPackage ../development/python-modules/colored { };