depot/third_party/nixpkgs/pkgs/development/python-modules/msgpack/default.nix
Default email 9c6ee729d6 Project import generated by Copybara.
GitOrigin-RevId: 6cee3b5893090b0f5f0a06b4cf42ca4e60e5d222
2023-07-15 19:15:38 +02:00

40 lines
800 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, pytestCheckHook
, pythonOlder
, setuptools
}:
buildPythonPackage rec {
pname = "msgpack";
version = "1.0.5";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
hash = "sha256-wHVUQoTq3Fzdxw9HVzMdmdy8FrK71ISdFfiq5M820xw=";
};
nativeBuildInputs = [
setuptools
];
nativeCheckInputs = [
pytestCheckHook
];
pythonImportsCheck = [
"msgpack"
];
meta = with lib; {
description = "MessagePack serializer implementation";
homepage = "https://github.com/msgpack/msgpack-python";
changelog = "https://github.com/msgpack/msgpack-python/blob/v${version}/ChangeLog.rst";
license = licenses.asl20;
maintainers = with maintainers; [ SuperSandro2000 ];
};
}