From 63dffdb683abe06fff2ad3060902e6d9b5bd72b0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Wed, 23 Mar 2022 08:40:19 +0100 Subject: [PATCH] python39Packages.msgpack: switch to pytestCheckHook, add missing dependency, add SuperSandro2000 as maintainer --- .../python-modules/msgpack/default.nix | 21 ++++++++++--------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/pkgs/development/python-modules/msgpack/default.nix b/pkgs/development/python-modules/msgpack/default.nix index 3feeca74ccd..805d347389c 100644 --- a/pkgs/development/python-modules/msgpack/default.nix +++ b/pkgs/development/python-modules/msgpack/default.nix @@ -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 ]; }; }