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

30 lines
615 B
Nix
Raw Normal View History

{ buildPythonPackage
, fetchPypi
, pytest
, lib
}:
buildPythonPackage rec {
pname = "msgpack";
version = "1.0.3";
src = fetchPypi {
inherit pname version;
sha256 = "51fdc7fb93615286428ee7758cecc2f374d5ff363bdd884c7ea622a7a327a81e";
};
checkPhase = ''
py.test
'';
checkInputs = [ pytest ];
meta = {
homepage = "https://github.com/msgpack/msgpack-python";
description = "MessagePack serializer implementation for Python";
changelog = "https://github.com/msgpack/msgpack-python/blob/master/ChangeLog.rst";
license = lib.licenses.asl20;
# maintainers = ?? ;
};
}