1{ lib 2, buildPythonPackage 3, fetchPypi 4, cython 5, msgpack 6, numpy 7, python 8}: 9 10buildPythonPackage rec { 11 pname = "msgpack-numpy"; 12 version = "0.4.7.1"; 13 14 src = fetchPypi { 15 inherit pname version; 16 sha256 = "7eaf51acf82d7c467d21aa71df94e1c051b2055e54b755442051b474fa7cf5e1"; 17 }; 18 19 buildInputs = [ 20 cython 21 ]; 22 23 propagatedBuildInputs = [ 24 msgpack 25 numpy 26 ]; 27 28 checkPhase = '' 29 ${python.interpreter} msgpack_numpy.py 30 ''; 31 32 meta = with lib; { 33 description = "Numpy data type serialization using msgpack"; 34 homepage = "https://github.com/lebedov/msgpack-numpy"; 35 license = licenses.bsd3; 36 maintainers = with maintainers; [ aborsu ]; 37 }; 38}