nixpkgs/pkgs/development/python-modules/msgpack-numpy/default.nix

39 lines
688 B
Nix
Raw Normal View History

2024-05-22 16:01:06 +02:00
{
lib,
buildPythonPackage,
fetchPypi,
cython,
msgpack,
numpy,
python,
2018-03-08 00:10:24 +01:00
}:
buildPythonPackage rec {
pname = "msgpack-numpy";
version = "0.4.8";
format = "setuptools";
2018-03-08 00:10:24 +01:00
src = fetchPypi {
inherit pname version;
hash = "sha256-xmfTGAUTQi+cdUW+XuxdKW3Ls1fgb3LtOcxoN5dVbmk=";
2018-03-08 00:10:24 +01:00
};
2024-05-22 16:01:06 +02:00
buildInputs = [ cython ];
2018-03-08 00:10:24 +01:00
propagatedBuildInputs = [
2024-05-22 16:01:06 +02:00
msgpack
numpy
2018-03-08 00:10:24 +01:00
];
checkPhase = ''
${python.interpreter} msgpack_numpy.py
'';
meta = with lib; {
description = "Numpy data type serialization using msgpack";
homepage = "https://github.com/lebedov/msgpack-numpy";
2018-03-08 00:10:24 +01:00
license = licenses.bsd3;
maintainers = with maintainers; [ aborsu ];
};
}