1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 setuptools,
6}:
7
8buildPythonPackage rec {
9 pname = "bot-safe-agents";
10 version = "1.1";
11 pyproject = true;
12
13 src = fetchFromGitHub {
14 owner = "ivan-sincek";
15 repo = "bot-safe-agents";
16 tag = "v${version}";
17 hash = "sha256-x+AoHg8JFq++qZIhxljIZp2pfxEd0jtETclttddN4sk=";
18 };
19
20 build-system = [ setuptools ];
21
22 pythonImportsCheck = [ "bot_safe_agents" ];
23
24 meta = {
25 description = "Library for fetching a list of bot-safe user agents";
26 homepage = "https://github.com/ivan-sincek/bot-safe-agents";
27 changelog = "https://github.com/ivan-sincek/bot-safe-agents/releases/tag/v${version}";
28 license = lib.licenses.mit;
29 maintainers = with lib.maintainers; [ ];
30 };
31}