mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-07 12:44:20 +00:00
Merge pull request #188097 from fabaff/omegaconf-bump
python310Packages.omegaconf: 2.2.2 -> 2.2.3
This commit is contained in:
commit
bac0c1c763
@ -1,17 +1,19 @@
|
|||||||
{ lib
|
{ lib
|
||||||
|
, antlr4_9-python3-runtime
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
|
, jre_minimal
|
||||||
|
, pydevd
|
||||||
, pytest-mock
|
, pytest-mock
|
||||||
, pytestCheckHook
|
, pytestCheckHook
|
||||||
, pyyaml
|
|
||||||
, pythonOlder
|
, pythonOlder
|
||||||
, jre_minimal
|
, pyyaml
|
||||||
, antlr4_9-python3-runtime
|
}:
|
||||||
, pydevd }:
|
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "omegaconf";
|
pname = "omegaconf";
|
||||||
version = "2.2.2";
|
version = "2.2.3";
|
||||||
|
format = "setuptools";
|
||||||
|
|
||||||
disabled = pythonOlder "3.6";
|
disabled = pythonOlder "3.6";
|
||||||
|
|
||||||
@ -19,13 +21,9 @@ buildPythonPackage rec {
|
|||||||
owner = "omry";
|
owner = "omry";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "refs/tags/v${version}";
|
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 = [
|
nativeBuildInputs = [
|
||||||
jre_minimal
|
jre_minimal
|
||||||
];
|
];
|
||||||
@ -37,16 +35,18 @@ buildPythonPackage rec {
|
|||||||
|
|
||||||
checkInputs = [
|
checkInputs = [
|
||||||
pydevd
|
pydevd
|
||||||
pytestCheckHook
|
|
||||||
pytest-mock
|
pytest-mock
|
||||||
|
pytestCheckHook
|
||||||
];
|
];
|
||||||
|
|
||||||
pythonImportsCheck = [ "omegaconf" ];
|
pythonImportsCheck = [
|
||||||
|
"omegaconf"
|
||||||
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "A framework for configuring complex applications";
|
description = "Framework for configuring complex applications";
|
||||||
homepage = "https://github.com/omry/omegaconf";
|
homepage = "https://github.com/omry/omegaconf";
|
||||||
license = licenses.free; # prior bsd license (1988)
|
license = licenses.bsd3;
|
||||||
maintainers = with maintainers; [ bcdarwin ];
|
maintainers = with maintainers; [ bcdarwin ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user