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