nixpkgs/pkgs/development/python-modules/iminuit/default.nix
2021-06-22 13:42:31 +02:00

27 lines
692 B
Nix

{ lib, buildPythonPackage, isPy3k, fetchPypi, cmake, numpy, pytestCheckHook }:
buildPythonPackage rec {
pname = "iminuit";
version = "2.6.1";
disabled = !isPy3k;
src = fetchPypi {
inherit pname version;
sha256 = "5fb8786bcad53762648ddacb008d18b49704ba5c011ade240004bfc5a628b4f6";
};
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 ];
};
}