python3Packages.fake-http-header: init at 0.3.5-unstable-2025-07-09
Generates random request fields for a http request header https://github.com/MichaelTatarski/fake-http-header
This commit is contained in:
@@ -0,0 +1,35 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
pytestCheckHook,
|
||||
setuptools,
|
||||
}:
|
||||
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "fake-http-header";
|
||||
version = "0.3.5-unstable-2025-07-09";
|
||||
pyproject = true;
|
||||
|
||||
__structuredAttrs = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "MichaelTatarski";
|
||||
repo = "fake-http-header";
|
||||
# https://github.com/MichaelTatarski/fake-http-header/issues/4
|
||||
rev = "0f110477d3ecae916e88608a123360227bfb6109";
|
||||
hash = "sha256-CznvDjzUeA0THsiIhuzvEDb4gXsP8IujpSCjt857qSo=";
|
||||
};
|
||||
build-system = [ setuptools ];
|
||||
|
||||
nativeCheckInputs = [ pytestCheckHook ];
|
||||
|
||||
pythonImportsCheck = [ "fake_http_header" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Generates random request fields for a http request header";
|
||||
homepage = "https://github.com/MichaelTatarski/fake-http-header";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
})
|
||||
@@ -5503,6 +5503,8 @@ self: super: with self; {
|
||||
};
|
||||
};
|
||||
|
||||
fake-http-header = callPackage ../development/python-modules/fake-http-header { };
|
||||
|
||||
fake-useragent = callPackage ../development/python-modules/fake-useragent { };
|
||||
|
||||
faker = callPackage ../development/python-modules/faker { };
|
||||
|
||||
Reference in New Issue
Block a user