python310Packages.pytest-base-url: add changelog to meta
This commit is contained in:
parent
342848bb59
commit
7e5d00e0ec
@ -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 ];
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user