1{ lib, buildPythonPackage, isPy3k, fetchPypi, cmake, numpy, pytestCheckHook }: 2 3buildPythonPackage rec { 4 pname = "iminuit"; 5 version = "2.8.4"; 6 disabled = !isPy3k; 7 8 src = fetchPypi { 9 inherit pname version; 10 sha256 = "4b09189f3094896cfc68596adc95b7f1d92772e1de1424e5dc4dd81def56e8b0"; 11 }; 12 13 nativeBuildInputs = [ cmake ]; 14 propagatedBuildInputs = [ numpy ]; 15 16 dontUseCmakeConfigure = true; 17 18 checkInputs = [ pytestCheckHook ]; 19 20 meta = with lib; { 21 homepage = "https://github.com/scikit-hep/iminuit"; 22 description = "Python interface for the Minuit2 C++ library"; 23 license = with licenses; [ mit lgpl2Only ]; 24 maintainers = with maintainers; [ veprbl ]; 25 }; 26}