Files
nixpkgs/pkgs/development/python-modules/u-msgpack-python/default.nix
T

32 lines
630 B
Nix
Raw Normal View History

{ buildPythonPackage
, lib
2018-06-23 15:27:58 +02:00
, fetchPypi
, glibcLocales
, python
}:
buildPythonPackage rec {
pname = "u-msgpack-python";
2018-04-04 20:18:30 +02:00
version = "2.5.0";
2018-06-23 15:27:58 +02:00
src = fetchPypi {
inherit pname version;
2018-04-04 20:18:30 +02:00
sha256 = "7ff18ae3721fa75571f9329c08f7c0120416a6ae36194bd8674f65b3b78d0702";
};
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;
};
}