1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-01 01:51:24 +00:00

python.msgpack-numpy: init 0.4.1

This commit is contained in:
Augustin Borsu 2018-03-08 00:10:24 +01:00
parent a9e1ae3d29
commit 5568e25fa0
2 changed files with 40 additions and 0 deletions

View file

@ -0,0 +1,38 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, cython
, msgpack-python
, numpy
, python
}:
buildPythonPackage rec {
pname = "msgpack-numpy";
version = "0.4.1";
src = fetchPypi {
inherit pname version;
sha256 = "1czf125nixzwskiqiw0145kfj15030sp334cb89gp5w4rz3h7img";
};
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 ];
};
}

View file

@ -10161,6 +10161,8 @@ in {
msgpack = callPackage ../development/python-modules/msgpack {}; msgpack = callPackage ../development/python-modules/msgpack {};
msgpack-numpy = callPackage ../development/python-modules/msgpack-numpy {};
msgpack-python = self.msgpack.overridePythonAttrs { msgpack-python = self.msgpack.overridePythonAttrs {
pname = "msgpack-python"; pname = "msgpack-python";
postPatch = '' postPatch = ''