python312Packages.pytest-httpbin: refactor

This commit is contained in:
Fabian Affolter
2024-05-18 13:29:20 +02:00
parent f867779e2e
commit e2ff9af829

View File

@@ -6,13 +6,13 @@
, pytestCheckHook
, pythonOlder
, requests
, six
, setuptools
}:
buildPythonPackage rec {
pname = "pytest-httpbin";
version = "2.0.0";
format = "setuptools";
pyproject = true;
disabled = pythonOlder "3.7";
@@ -23,13 +23,16 @@ buildPythonPackage rec {
hash = "sha256-tq9nz2na94HkLACt7xB1MUanh9/JOoe2vyEm5sAq0/4=";
};
build-system = [
setuptools
];
buildInputs = [
pytest
];
propagatedBuildInputs = [
httpbin
six
];
nativeCheckInputs = [
@@ -51,6 +54,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "Test your HTTP library against a local copy of httpbin.org";
homepage = "https://github.com/kevin1024/pytest-httpbin";
changelog = "https://github.com/kevin1024/pytest-httpbin/releases/tag/v${version}";
license = licenses.mit;
maintainers = with maintainers; [ ];
};