mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-22 00:20:58 +00:00
python312Packages.pytest-httpbin: refactor
This commit is contained in:
@@ -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; [ ];
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user