python310Packages.pytest-base-url: add changelog to meta
This commit is contained in:
parent
342848bb59
commit
7e5d00e0ec
|
@ -6,6 +6,7 @@
|
||||||
, pytest-localserver
|
, pytest-localserver
|
||||||
, requests
|
, requests
|
||||||
, pytestCheckHook
|
, pytestCheckHook
|
||||||
|
, pythonOlder
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
|
@ -13,28 +14,44 @@ buildPythonPackage rec {
|
||||||
version = "2.0.0";
|
version = "2.0.0";
|
||||||
format = "pyproject";
|
format = "pyproject";
|
||||||
|
|
||||||
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "pytest-dev";
|
owner = "pytest-dev";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "refs/tags/v${version}";
|
||||||
sha256 = "sha256-v6pLejWNeb9Do6x2EJqmLKj8DNqcMtmYIs+7iDYsbjk=";
|
hash = "sha256-v6pLejWNeb9Do6x2EJqmLKj8DNqcMtmYIs+7iDYsbjk=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ poetry-core ];
|
nativeBuildInputs = [
|
||||||
|
poetry-core
|
||||||
|
];
|
||||||
|
|
||||||
buildInputs = [ pytest ];
|
buildInputs = [
|
||||||
|
pytest
|
||||||
|
];
|
||||||
|
|
||||||
propagatedBuildInputs = [ requests ];
|
propagatedBuildInputs = [
|
||||||
|
requests
|
||||||
|
];
|
||||||
|
|
||||||
checkInputs = [ pytestCheckHook pytest-localserver ];
|
checkInputs = [
|
||||||
|
pytestCheckHook
|
||||||
|
pytest-localserver
|
||||||
|
];
|
||||||
|
|
||||||
pytestFlagsArray = [ "tests" ];
|
pytestFlagsArray = [
|
||||||
|
"tests"
|
||||||
|
];
|
||||||
|
|
||||||
pythonImportsCheck = [ "pytest_base_url" ];
|
pythonImportsCheck = [
|
||||||
|
"pytest_base_url"
|
||||||
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "pytest plugin for URL based tests";
|
description = "pytest plugin for URL based tests";
|
||||||
homepage = "https://github.com/pytest-dev/pytest-base-url";
|
homepage = "https://github.com/pytest-dev/pytest-base-url";
|
||||||
|
changelog = "https://github.com/pytest-dev/pytest-base-url/blob/v${version}/CHANGES.rst";
|
||||||
license = licenses.mpl20;
|
license = licenses.mpl20;
|
||||||
maintainers = with maintainers; [ sephi ];
|
maintainers = with maintainers; [ sephi ];
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue