1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/development/python-modules/msgpack-numpy/default.nix

39 lines
685 B
Nix
Raw Normal View History

2018-03-07 23:10:24 +00:00
{ stdenv
, buildPythonPackage
, fetchPypi
, cython
, msgpack
2018-03-07 23:10:24 +00:00
, numpy
, python
}:
buildPythonPackage rec {
pname = "msgpack-numpy";
version = "0.4.4.3";
2018-03-07 23:10:24 +00:00
src = fetchPypi {
inherit pname version;
sha256 = "a02c0069fb580c6a2dda9b98d40d34fda3840863112a5465ba9b54fa2ee005a5";
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 stdenv.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 ];
};
}