Merge pull request #211912 from fabaff/pytest-testmon-fix

python310Packages.pytest-testmon: 1.4.3 -> 1.4.5
This commit is contained in:
Fabian Affolter 2023-01-21 18:49:27 +01:00 committed by GitHub
commit 268ca66b89
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,23 +1,31 @@
{ lib
, buildPythonPackage
, coverage
, fetchPypi
, fetchFromGitHub
, poetry-core
, pytest
, pythonOlder
, setuptools
}:
buildPythonPackage rec {
pname = "pytest-testmon";
version = "1.4.2";
format = "setuptools";
version = "1.4.5";
format = "pyproject";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-3tYW0RWRbbGKbPpXWuqJ79sRWMj+vnffS0XNa7Yb0fw=";
src = fetchFromGitHub {
owner = "tarpas";
repo = pname;
rev = "refs/tags/v${version}";
hash = "sha256-RHzPLCC33bPEk59rin4CZD3F7fsT1qyRR2HRyDIwszo=";
};
nativeBuildInputs = [
setuptools
];
buildInputs = [
pytest
];
@ -36,7 +44,8 @@ buildPythonPackage rec {
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/";
license = licenses.mit;
changelog = "https://github.com/tarpas/pytest-testmon/releases/tag/v${version}";
license = licenses.agpl3Only;
maintainers = with maintainers; [ dmvianna ];
};
}