2016-12-25 10:11:45 +00:00
|
|
|
{ buildPythonPackage
|
|
|
|
, lib
|
2018-06-23 13:27:58 +00:00
|
|
|
, fetchPypi
|
2016-12-25 10:11:45 +00:00
|
|
|
, glibcLocales
|
2022-08-06 16:32:04 +00:00
|
|
|
, unittestCheckHook
|
2016-12-25 10:11:45 +00:00
|
|
|
}:
|
|
|
|
|
2017-11-09 11:26:09 +00:00
|
|
|
buildPythonPackage rec {
|
2016-12-25 10:11:45 +00:00
|
|
|
pname = "u-msgpack-python";
|
2023-08-22 05:11:25 +00:00
|
|
|
version = "2.8.0";
|
|
|
|
format = "setuptools";
|
2016-12-25 10:11:45 +00:00
|
|
|
|
2018-06-23 13:27:58 +00:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2023-08-22 05:11:25 +00:00
|
|
|
hash = "sha256-uAGoPW7XXm30HkRRi08qnCIdwtpLzVOA46D+2lILxho=";
|
2016-12-25 10:11:45 +00:00
|
|
|
};
|
|
|
|
|
2023-08-22 05:11:25 +00:00
|
|
|
env.LC_ALL="en_US.UTF-8";
|
2016-12-25 10:11:45 +00:00
|
|
|
|
|
|
|
buildInputs = [ glibcLocales ];
|
|
|
|
|
2023-01-21 12:00:00 +00:00
|
|
|
nativeCheckInputs = [ unittestCheckHook ];
|
2016-12-25 10:11:45 +00:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "A portable, lightweight MessagePack serializer and deserializer written in pure Python";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://github.com/vsergeev/u-msgpack-python";
|
2023-08-22 05:11:25 +00:00
|
|
|
changelog = "https://github.com/vsergeev/u-msgpack-python/blob/v${version}/CHANGELOG.md";
|
2016-12-25 10:11:45 +00:00
|
|
|
license = lib.licenses.mit;
|
|
|
|
};
|
2016-12-25 15:17:33 +00:00
|
|
|
}
|