depot/third_party/nixpkgs/pkgs/development/python-modules/u-msgpack-python/default.nix

32 lines
731 B
Nix
Raw Normal View History

{
buildPythonPackage,
lib,
fetchPypi,
glibcLocales,
unittestCheckHook,
}:
buildPythonPackage rec {
pname = "u-msgpack-python";
version = "2.8.0";
format = "setuptools";
src = fetchPypi {
inherit pname version;
hash = "sha256-uAGoPW7XXm30HkRRi08qnCIdwtpLzVOA46D+2lILxho=";
};
env.LC_ALL = "en_US.UTF-8";
buildInputs = [ glibcLocales ];
nativeCheckInputs = [ unittestCheckHook ];
meta = {
description = "Portable, lightweight MessagePack serializer and deserializer written in pure Python";
homepage = "https://github.com/vsergeev/u-msgpack-python";
changelog = "https://github.com/vsergeev/u-msgpack-python/blob/v${version}/CHANGELOG.md";
license = lib.licenses.mit;
};
}