pythonPackages.hydra: init at 1.4.1
This commit is contained in:
parent
60c03fb380
commit
ee7d45c638
29
pkgs/development/python-modules/hydra/default.nix
Normal file
29
pkgs/development/python-modules/hydra/default.nix
Normal 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 ];
|
||||||
|
};
|
||||||
|
}
|
@ -3737,6 +3737,8 @@ in {
|
|||||||
|
|
||||||
hvac = callPackage ../development/python-modules/hvac { };
|
hvac = callPackage ../development/python-modules/hvac { };
|
||||||
|
|
||||||
|
hydra = callPackage ../development/python-modules/hydra { };
|
||||||
|
|
||||||
hypothesis = callPackage ../development/python-modules/hypothesis { };
|
hypothesis = callPackage ../development/python-modules/hypothesis { };
|
||||||
|
|
||||||
colored = callPackage ../development/python-modules/colored { };
|
colored = callPackage ../development/python-modules/colored { };
|
||||||
|
Loading…
x
Reference in New Issue
Block a user