depot/third_party/nixpkgs/pkgs/development/python-modules/iminuit/default.nix
Default email dae973cb59 Project import generated by Copybara.
GitOrigin-RevId: c90c4025bb6e0c4eaf438128a3b2640314b1c58d
2023-03-08 18:32:21 +02:00

42 lines
750 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, cmake
, numpy
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "iminuit";
version = "2.21.0";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
hash = "sha256-ivRsweaIvkiBceTfAI457wN+tbntJ3t4HTynWf29vAI=";
};
nativeBuildInputs = [
cmake
];
propagatedBuildInputs = [
numpy
];
dontUseCmakeConfigure = true;
nativeCheckInputs = [
pytestCheckHook
];
meta = with lib; {
homepage = "https://github.com/scikit-hep/iminuit";
description = "Python interface for the Minuit2 C++ library";
license = with licenses; [ mit lgpl2Only ];
maintainers = with maintainers; [ veprbl ];
};
}