python310Packages.omegaconf: 2.2.2 -> 2.2.3

This commit is contained in:
Fabian Affolter 2022-08-24 00:17:38 +02:00
parent b5d72febf1
commit 1678d87ac4

View File

@ -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 ];
};
}