1
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-01 13:29:13 +03:00
nixpkgs/pkgs/development/python-modules/msgpack/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

41 lines
789 B
Nix
Raw Normal View History

{ lib
, buildPythonPackage
2018-02-10 14:19:13 +01:00
, fetchPypi
, pytestCheckHook
, pythonOlder
, setuptools
2018-02-10 14:19:13 +01:00
}:
buildPythonPackage rec {
pname = "msgpack";
version = "1.0.4";
format = "setuptools";
disabled = pythonOlder "3.6";
2018-02-10 14:19:13 +01:00
src = fetchPypi {
inherit pname version;
hash = "sha256-9dhpwY8DAgLrQS8Iso0q/upVPWYTruieIA16yn7wH18=";
2018-02-10 14:19:13 +01:00
};
nativeBuildInputs = [
setuptools
];
2018-02-10 14:19:13 +01:00
checkInputs = [
pytestCheckHook
];
pythonImportsCheck = [
"msgpack"
];
2018-02-10 14:19:13 +01:00
meta = with lib; {
description = "MessagePack serializer implementation";
homepage = "https://github.com/msgpack/msgpack-python";
changelog = "https://github.com/msgpack/msgpack-python/blob/master/ChangeLog.rst";
license = licenses.asl20;
maintainers = with maintainers; [ SuperSandro2000 ];
2018-02-10 14:19:13 +01:00
};
}