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

30 lines
602 B
Nix
Raw Normal View History

{ buildPythonPackage
, lib
, fetchPypi
, glibcLocales
, unittestCheckHook
}:
buildPythonPackage rec {
pname = "u-msgpack-python";
version = "2.7.2";
src = fetchPypi {
inherit pname version;
hash = "sha256-6G96xqoO9MbEnwBLT9Q1vOmcI+LdXXMAPz+YFgJMK9g=";
};
LC_ALL="en_US.UTF-8";
buildInputs = [ glibcLocales ];
nativeCheckInputs = [ unittestCheckHook ];
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;
};
}