From 3a1b4417835ff342c950698cb302d02f45b5b309 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sat, 27 Aug 2022 14:03:51 +0000 Subject: [PATCH 1/2] python310Packages.pytest-testmon: 1.3.4 -> 1.3.5 --- pkgs/development/python-modules/pytest-testmon/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/pytest-testmon/default.nix b/pkgs/development/python-modules/pytest-testmon/default.nix index 9652e0289464..2ad7930bce4e 100644 --- a/pkgs/development/python-modules/pytest-testmon/default.nix +++ b/pkgs/development/python-modules/pytest-testmon/default.nix @@ -8,12 +8,12 @@ buildPythonPackage rec { pname = "pytest-testmon"; - version = "1.3.4"; + version = "1.3.5"; disabled = pythonOlder "3.6"; src = fetchPypi { inherit pname version; - sha256 = "sha256-jr+uKjtm5nFYHrZpG63VNK/wO93TQJh1x4SoTxJtlw0="; + sha256 = "sha256-ncgNO76j2Z3766ojYydUoYZzRoTb2XxhR6FkKFzjyhI="; }; propagatedBuildInputs = [ pytest coverage ]; From 5db524ac69ce3175337cd227e2de9e688c21441f Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 28 Aug 2022 10:46:51 +0200 Subject: [PATCH 2/2] python310Packages.pytest-testmon: add pythonImportsCheck - update disabled - update meta --- .../python-modules/pytest-testmon/default.nix | 28 +++++++++++++------ 1 file changed, 19 insertions(+), 9 deletions(-) diff --git a/pkgs/development/python-modules/pytest-testmon/default.nix b/pkgs/development/python-modules/pytest-testmon/default.nix index 2ad7930bce4e..a17c4dee7340 100644 --- a/pkgs/development/python-modules/pytest-testmon/default.nix +++ b/pkgs/development/python-modules/pytest-testmon/default.nix @@ -1,32 +1,42 @@ { lib , buildPythonPackage -, fetchPypi -, pythonOlder , coverage +, fetchPypi , pytest +, pythonOlder }: buildPythonPackage rec { pname = "pytest-testmon"; version = "1.3.5"; - disabled = pythonOlder "3.6"; + format = "setuptools"; + + disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - sha256 = "sha256-ncgNO76j2Z3766ojYydUoYZzRoTb2XxhR6FkKFzjyhI="; + hash = "sha256-ncgNO76j2Z3766ojYydUoYZzRoTb2XxhR6FkKFzjyhI="; }; - propagatedBuildInputs = [ pytest coverage ]; + buildInputs = [ + pytest + ]; + + propagatedBuildInputs = [ + coverage + ]; # The project does not include tests since version 1.3.0 doCheck = false; - pythonImportsCheck = [ "testmon" ]; + + pythonImportsCheck = [ + "testmon" + ]; meta = with lib; { + description = "Pytest plug-in which automatically selects and re-executes only tests affected by recent changes"; homepage = "https://github.com/tarpas/pytest-testmon/"; - description = "This is a py.test plug-in which automatically selects and re-executes only tests affected by recent changes"; license = licenses.mit; - maintainers = [ maintainers.dmvianna ]; + maintainers = with maintainers; [ dmvianna ]; }; } -