504525a148
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
39 lines
683 B
Nix
39 lines
683 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, cython
|
|
, msgpack
|
|
, numpy
|
|
, python
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "msgpack-numpy";
|
|
version = "0.4.8";
|
|
format = "setuptools";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-xmfTGAUTQi+cdUW+XuxdKW3Ls1fgb3LtOcxoN5dVbmk=";
|
|
};
|
|
|
|
buildInputs = [
|
|
cython
|
|
];
|
|
|
|
propagatedBuildInputs = [
|
|
msgpack
|
|
numpy
|
|
];
|
|
|
|
checkPhase = ''
|
|
${python.interpreter} msgpack_numpy.py
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "Numpy data type serialization using msgpack";
|
|
homepage = "https://github.com/lebedov/msgpack-numpy";
|
|
license = licenses.bsd3;
|
|
maintainers = with maintainers; [ aborsu ];
|
|
};
|
|
}
|