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