Merge pull request #116487 from veprbl/pr/professor_init

professor: init at 2.3.3
This commit is contained in:
Dmitry Kalinkin
2021-03-25 16:07:55 -04:00
committed by GitHub
4 changed files with 71 additions and 0 deletions

View File

@@ -0,0 +1,26 @@
{ lib, buildPythonPackage, isPy3k, fetchPypi, cmake, numpy, pytestCheckHook }:
buildPythonPackage rec {
pname = "iminuit";
version = "2.4.0";
disabled = !isPy3k;
src = fetchPypi {
inherit pname version;
sha256 = "350c13d33f3ec5884335aea1cc11a17ae49dd8e6b2181c3f1b3c9c27e2e0b228";
};
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 ];
};
}