python312Packages.pyomo: format with nixfmt

This commit is contained in:
Fabian Affolter
2024-05-11 20:13:50 +02:00
parent 16cf6a0fa0
commit b7dec5b173
@@ -1,11 +1,12 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, parameterized
, ply
, pytestCheckHook
, pythonOlder
, setuptools
{
lib,
buildPythonPackage,
fetchFromGitHub,
parameterized,
ply,
pytestCheckHook,
pythonOlder,
setuptools,
}:
buildPythonPackage rec {
@@ -22,22 +23,16 @@ buildPythonPackage rec {
hash = "sha256-v3KVb9KZPbUlpRySzJV8dmApScKT06aJc8SULCHcnPI=";
};
build-system = [
setuptools
];
build-system = [ setuptools ];
dependencies = [
ply
];
dependencies = [ ply ];
nativeCheckInputs = [
parameterized
pytestCheckHook
];
pythonImportsCheck = [
"pyomo"
];
pythonImportsCheck = [ "pyomo" ];
preCheck = ''
export HOME=$(mktemp -d);