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

39 lines
675 B
Nix
Raw Normal View History

{ lib
2018-03-07 23:10:24 +00:00
, buildPythonPackage
, fetchPypi
, cython
, msgpack
2018-03-07 23:10:24 +00:00
, numpy
, python
}:
buildPythonPackage rec {
pname = "msgpack-numpy";
version = "0.4.7.1";
2018-03-07 23:10:24 +00:00
src = fetchPypi {
inherit pname version;
sha256 = "7eaf51acf82d7c467d21aa71df94e1c051b2055e54b755442051b474fa7cf5e1";
2018-03-07 23:10:24 +00:00
};
buildInputs = [
cython
];
propagatedBuildInputs = [
msgpack
2018-03-07 23:10:24 +00: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-07 23:10:24 +00:00
license = licenses.bsd3;
maintainers = with maintainers; [ aborsu ];
};
}