Files
nixpkgs/pkgs/development/python-modules/iminuit/default.nix
T
2022-03-05 14:31:05 +00:00

27 lines
680 B
Nix

{ lib, buildPythonPackage, isPy3k, fetchPypi, cmake, numpy, pytestCheckHook }:
buildPythonPackage rec {
pname = "iminuit";
version = "2.10.0";
disabled = !isPy3k;
src = fetchPypi {
inherit pname version;
sha256 = "sha256-k7M8ptL/1z6AtA6KQAyj28cOBWYvG9OQ4rYEAnkQFIU=";
};
nativeBuildInputs = [ cmake ];
propagatedBuildInputs = [ numpy ];
dontUseCmakeConfigure = true;
checkInputs = [ 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 ];
};
}