1{ lib 2, antlr4_9-python3-runtime 3, buildPythonPackage 4, fetchFromGitHub 5, jre_minimal 6, pydevd 7, pytest-mock 8, pytestCheckHook 9, pythonOlder 10, pyyaml 11}: 12 13buildPythonPackage rec { 14 pname = "omegaconf"; 15 version = "2.2.3"; 16 format = "setuptools"; 17 18 disabled = pythonOlder "3.6"; 19 20 src = fetchFromGitHub { 21 owner = "omry"; 22 repo = pname; 23 rev = "refs/tags/v${version}"; 24 hash = "sha256-sJUYi0M/6SBSeKVSJoNY7IbVmzRZVTlek8AyL2cOPAM="; 25 }; 26 27 nativeBuildInputs = [ 28 jre_minimal 29 ]; 30 31 propagatedBuildInputs = [ 32 antlr4_9-python3-runtime 33 pyyaml 34 ]; 35 36 checkInputs = [ 37 pydevd 38 pytest-mock 39 pytestCheckHook 40 ]; 41 42 pythonImportsCheck = [ 43 "omegaconf" 44 ]; 45 46 meta = with lib; { 47 description = "Framework for configuring complex applications"; 48 homepage = "https://github.com/omry/omegaconf"; 49 license = licenses.bsd3; 50 maintainers = with maintainers; [ bcdarwin ]; 51 }; 52}