python310Packages.pytest-base-url: add changelog to meta

This commit is contained in:
Fabian Affolter 2023-01-10 14:26:33 +01:00 committed by GitHub
parent 342848bb59
commit 7e5d00e0ec
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -6,6 +6,7 @@
, pytest-localserver
, requests
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
@ -13,28 +14,44 @@ buildPythonPackage rec {
version = "2.0.0";
format = "pyproject";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "pytest-dev";
repo = pname;
rev = "v${version}";
sha256 = "sha256-v6pLejWNeb9Do6x2EJqmLKj8DNqcMtmYIs+7iDYsbjk=";
rev = "refs/tags/v${version}";
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; {
description = "pytest plugin for URL based tests";
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;
maintainers = with maintainers; [ sephi ];
};