blob: f0b744bfbcafa835a86a3c095ea6987df1ffe725 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
{ lib
, buildPythonPackage
, fetchPypi
, cmake
, numpy
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "iminuit";
version = "2.13.0";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
hash = "sha256-40eFwqLArqb/hmcv6BuAoErJ1Cp57YJJYw8lKaj2oPo=";
};
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 ];
};
}
|