python311Packages.pytest-base-url: 2.0.0 -> 2.1.0

https://github.com/pytest-dev/pytest-base-url/blob/2.1.0/CHANGES.rst
This commit is contained in:
Martin Weinelt
2024-03-18 03:49:28 +01:00
parent c50612636e
commit 94c457345c
@@ -1,9 +1,11 @@
{ lib
, fetchFromGitHub
, buildPythonPackage
, poetry-core
, hatchling
, hatch-vcs
, pytest
, pytest-localserver
, pytest-metadata
, requests
, pytestCheckHook
, pythonOlder
@@ -11,20 +13,21 @@
buildPythonPackage rec {
pname = "pytest-base-url";
version = "2.0.0";
version = "2.1.0";
format = "pyproject";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "pytest-dev";
repo = pname;
rev = "refs/tags/v${version}";
hash = "sha256-v6pLejWNeb9Do6x2EJqmLKj8DNqcMtmYIs+7iDYsbjk=";
repo = "pytest-base-url";
rev = "refs/tags/${version}";
hash = "sha256-3P3Uk3QoznAtNODLjXFbeNn3AOfp9owWU2jqkxTEAa4=";
};
nativeBuildInputs = [
poetry-core
hatchling
hatch-vcs
];
buildInputs = [
@@ -40,6 +43,7 @@ buildPythonPackage rec {
nativeCheckInputs = [
pytestCheckHook
pytest-localserver
pytest-metadata
];
pytestFlagsArray = [
@@ -58,7 +62,7 @@ buildPythonPackage rec {
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";
changelog = "https://github.com/pytest-dev/pytest-base-url/blob/${src.rev}/CHANGES.rst";
license = licenses.mpl20;
maintainers = with maintainers; [ sephi ];
};