From 84b46ffa44a92cd3d8ef76f910ac9d25fbebd000 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sat, 16 Sep 2023 01:19:44 +0000 Subject: [PATCH 1/2] python311Packages.types-mock: 5.1.0.1 -> 5.1.0.2 --- pkgs/development/python-modules/types-mock/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/types-mock/default.nix b/pkgs/development/python-modules/types-mock/default.nix index f072c83916cc..a5d7acb72da8 100644 --- a/pkgs/development/python-modules/types-mock/default.nix +++ b/pkgs/development/python-modules/types-mock/default.nix @@ -5,11 +5,11 @@ buildPythonPackage rec { pname = "types-mock"; - version = "5.1.0.1"; + version = "5.1.0.2"; src = fetchPypi { inherit pname version; - sha256 = "sha256-8H1Z3lDqgWq0A7pOJG/4CwCSY7N3vD93Tf3r8LQD+2A="; + sha256 = "sha256-3kjTdm5OMDTv2LJtqeCeSQjzHlMTel/i778fur7haZY="; }; meta = { From a889a89d46acdf781cfd9e952d36b087c7737e62 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 16 Sep 2023 09:20:47 +0200 Subject: [PATCH 2/2] python311Packages.types-mock: add format - update meta --- .../python-modules/types-mock/default.nix | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/pkgs/development/python-modules/types-mock/default.nix b/pkgs/development/python-modules/types-mock/default.nix index a5d7acb72da8..23c742798166 100644 --- a/pkgs/development/python-modules/types-mock/default.nix +++ b/pkgs/development/python-modules/types-mock/default.nix @@ -6,16 +6,20 @@ buildPythonPackage rec { pname = "types-mock"; version = "5.1.0.2"; + format = "setuptools"; src = fetchPypi { inherit pname version; - sha256 = "sha256-3kjTdm5OMDTv2LJtqeCeSQjzHlMTel/i778fur7haZY="; + hash = "sha256-3kjTdm5OMDTv2LJtqeCeSQjzHlMTel/i778fur7haZY="; }; - meta = { - description = "This is a PEP 561 type stub package for the mock package. It can be used by type-checking tools like mypy, pyright, pytype, PyCharm, etc. to check code that uses mock."; + # Module has no tests + doCheck = false; + + meta = with lib; { + description = "Type stub package for the mock package"; homepage = "https://pypi.org/project/types-mock"; - license = lib.licenses.asl20; - maintainers = with lib.maintainers; [ ]; + license = licenses.asl20; + maintainers = with maintainers; [ ]; }; }