diff --git a/pkgs/development/python-modules/omegaconf/default.nix b/pkgs/development/python-modules/omegaconf/default.nix index 7f34ff29fdbf..1071a642ef10 100644 --- a/pkgs/development/python-modules/omegaconf/default.nix +++ b/pkgs/development/python-modules/omegaconf/default.nix @@ -1,17 +1,19 @@ { lib +, antlr4_9-python3-runtime , buildPythonPackage , fetchFromGitHub +, jre_minimal +, pydevd , pytest-mock , pytestCheckHook -, pyyaml , pythonOlder -, jre_minimal -, antlr4_9-python3-runtime -, pydevd }: +, pyyaml +}: buildPythonPackage rec { pname = "omegaconf"; - version = "2.2.2"; + version = "2.2.3"; + format = "setuptools"; disabled = pythonOlder "3.6"; @@ -19,13 +21,9 @@ buildPythonPackage rec { owner = "omry"; repo = pname; rev = "refs/tags/v${version}"; - hash = "sha256-bUJ80sa2ot2JSkt29eFwSiKL6R1X1+VVeE9dFIy4Mg0="; + hash = "sha256-sJUYi0M/6SBSeKVSJoNY7IbVmzRZVTlek8AyL2cOPAM="; }; - postPatch = '' - substituteInPlace setup.py --replace 'setup_requires=["pytest-runner"]' 'setup_requires=[]' - ''; - nativeBuildInputs = [ jre_minimal ]; @@ -37,16 +35,18 @@ buildPythonPackage rec { checkInputs = [ pydevd - pytestCheckHook pytest-mock + pytestCheckHook ]; - pythonImportsCheck = [ "omegaconf" ]; + pythonImportsCheck = [ + "omegaconf" + ]; meta = with lib; { - description = "A framework for configuring complex applications"; + description = "Framework for configuring complex applications"; homepage = "https://github.com/omry/omegaconf"; - license = licenses.free; # prior bsd license (1988) + license = licenses.bsd3; maintainers = with maintainers; [ bcdarwin ]; }; }