python39Packages.msgpack: switch to pytestCheckHook, add missing dependency, add SuperSandro2000 as maintainer

This commit is contained in:
Sandro Jäckel 2022-03-23 08:40:19 +01:00
parent 85a633de9f
commit 63dffdb683
No known key found for this signature in database
GPG key ID: 3AF5A43A3EECC2E5

View file

@ -1,7 +1,8 @@
{ buildPythonPackage
{ lib
, buildPythonPackage
, fetchPypi
, pytest
, lib
, pytestCheckHook
, setuptools
}:
buildPythonPackage rec {
@ -13,17 +14,17 @@ buildPythonPackage rec {
sha256 = "51fdc7fb93615286428ee7758cecc2f374d5ff363bdd884c7ea622a7a327a81e";
};
checkPhase = ''
py.test
'';
nativeBuildInputs = [
setuptools
];
checkInputs = [ pytest ];
checkInputs = [ pytestCheckHook ];
meta = {
meta = with lib; {
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 = ?? ;
license = licenses.asl20;
maintainers = with maintainers; [ SuperSandro2000 ];
};
}