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

39 lines
696 B
Nix
Raw Normal View History

2018-03-08 00:10:24 +01:00
{ stdenv
, buildPythonPackage
, fetchPypi
, cython
, msgpack-python
, numpy
, python
}:
buildPythonPackage rec {
pname = "msgpack-numpy";
2018-04-04 20:11:27 +02:00
version = "0.4.3";
2018-03-08 00:10:24 +01:00
src = fetchPypi {
inherit pname version;
2018-04-04 20:11:27 +02:00
sha256 = "9d6da0bbb04d7cab2bf9f08f78232c954f00ac95cf2384149e779a31ce859126";
2018-03-08 00:10:24 +01:00
};
buildInputs = [
cython
];
propagatedBuildInputs = [
msgpack-python
numpy
];
checkPhase = ''
${python.interpreter} msgpack_numpy.py
'';
meta = with stdenv.lib; {
description = "Practical Machine Learning for NLP in Python";
homepage = https://github.com/lebedov/msgpack-numpy;
license = licenses.bsd3;
maintainers = with maintainers; [ aborsu ];
};
}