8ac5e011d6
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
31 lines
632 B
Nix
31 lines
632 B
Nix
{ buildPythonPackage
|
|
, lib
|
|
, fetchPypi
|
|
, glibcLocales
|
|
, python
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "u-msgpack-python";
|
|
version = "2.5.2";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "09c85a8af77376034396681e76bf30c249a4fd8e5ebb239f8a468d3655f210d0";
|
|
};
|
|
|
|
LC_ALL="en_US.UTF-8";
|
|
|
|
buildInputs = [ glibcLocales ];
|
|
|
|
checkPhase = ''
|
|
${python.interpreter} -m unittest discover
|
|
'';
|
|
|
|
meta = {
|
|
description = "A portable, lightweight MessagePack serializer and deserializer written in pure Python";
|
|
homepage = "https://github.com/vsergeev/u-msgpack-python";
|
|
license = lib.licenses.mit;
|
|
};
|
|
|
|
}
|