Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.1 kB · 61 lines
Nix
at litex
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162{ lib, buildPythonPackage, fetchPypi, setuptools, setuptools-scm, asteval, numpy, scipy, uncertainties, pytestCheckHook, pandas, matplotlib,}:
buildPythonPackage rec { pname = "lmfit"; version = "1.2.1";
format = "pyproject";
src = fetchPypi { inherit pname version; hash = "sha256-AM71vRRb+BtzYwt4kmrySyTxgFQh5iEcpYVYiqfMQVs="; };
postPatch = '' substituteInPlace setup.cfg --replace "--cov=lmfit --cov-report html" "" '';
nativeBuildInputs = [ setuptools setuptools-scm ];
propagatedBuildInputs = [ asteval numpy scipy uncertainties ];
nativeCheckInputs = [ pytestCheckHook pandas matplotlib ];
disabledTests = [ # https://github.com/lmfit/lmfit-py/issues/878 "test_emcee_multiprocessing" "test_explicit_independent_vars" "test_result_eval_custom_x" ];
meta = with lib; { description = "Least-Squares Minimization with Bounds and Constraints"; homepage = "https://lmfit-py.readthedocs.io/"; license = licenses.bsd3; maintainers = with maintainers; [ nomeata ]; };}