1{
2 lib,
3 aiofiles,
4 buildPythonPackage,
5 click,
6 fetchFromGitHub,
7 httpx,
8 orjson,
9 poetry-core,
10 pythonOlder,
11 rich,
12}:
13
14buildPythonPackage rec {
15 pname = "browserforge";
16 version = "1.2.3";
17 pyproject = true;
18
19 disabled = pythonOlder "3.11";
20
21 src = fetchFromGitHub {
22 owner = "daijro";
23 repo = "browserforge";
24 tag = "v${version}";
25 hash = "sha256-D5GlUZ4KT6kqPQVcpli8T++xoXl1YUVGZu8rePJQ44A=";
26 };
27
28 build-system = [ poetry-core ];
29
30 dependencies = [
31 aiofiles
32 click
33 httpx
34 orjson
35 rich
36 ];
37
38 # Module has no test
39 doCheck = false;
40
41 pythonImportsCheck = [ "browserforge" ];
42
43 meta = {
44 description = "Intelligent browser header & fingerprint generator";
45 homepage = "https://github.com/daijro/browserforge";
46 license = lib.licenses.asl20;
47 maintainers = with lib.maintainers; [ fab ];
48 };
49}