python312Packages.omegaconf: refactor

This commit is contained in:
Fabian Affolter 2024-04-23 21:01:51 +02:00
parent 806c206ae4
commit 1f7fc89dbb
1 changed files with 7 additions and 3 deletions

View File

@ -18,11 +18,12 @@ buildPythonPackage rec {
pname = "omegaconf";
version = "2.3.0";
pyproject = true;
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "omry";
repo = pname;
repo = "omegaconf";
rev = "refs/tags/v${version}";
hash = "sha256-Qxa4uIiX5TAyQ5rFkizdev60S4iVAJ08ES6FpNqf8zI=";
};
@ -45,12 +46,15 @@ buildPythonPackage rec {
sed -i 's/antlr4-python3-runtime==.*/antlr4-python3-runtime/' requirements/base.txt
'';
nativeBuildInputs = [
build-system = [
setuptools
];
nativeBuildInputs = [
jre_minimal
];
propagatedBuildInputs = [
dependencies = [
antlr4-python3-runtime
pyyaml
];