1{ lib, fetchPypi, isPy3k, buildPythonPackage, numpy, root, nose }:
2
3buildPythonPackage rec {
4 pname = "root_numpy";
5 version = "4.8.0";
6
7 src = fetchPypi {
8 inherit pname version;
9 sha256 = "5842bbcde92133f60a61f56e9f0a875a0dbc2a567cc65a9ac141ecd72e416878";
10 };
11
12 disabled = isPy3k; # blocked by #27649
13 checkInputs = [ nose ];
14 checkPhase = ''
15 python setup.py install_lib -d .
16 nosetests -s -v root_numpy
17 '';
18
19 propagatedBuildInputs = [ numpy root ];
20
21 meta = with lib; {
22 homepage = http://scikit-hep.org/root_numpy;
23 license = licenses.bsd3;
24 description = "The interface between ROOT and NumPy";
25 maintainers = with maintainers; [ veprbl ];
26 };
27}