1
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-06-19 07:59:24 +03:00
nixpkgs/pkgs/development/python-modules/msgpack-numpy/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

40 lines
683 B
Nix
Raw Normal View History

{ lib
2018-03-08 00:10:24 +01:00
, buildPythonPackage
, fetchPypi
, cython
, msgpack
2018-03-08 00:10:24 +01:00
, numpy
, python
}:
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
};
buildInputs = [
cython
];
propagatedBuildInputs = [
msgpack
2018-03-08 00:10:24 +01:00
numpy
];
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 ];
};
}