32 lines
747 B
Nix
32 lines
747 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
setuptools,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "bot-safe-agents";
|
|
version = "1.0";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "ivan-sincek";
|
|
repo = "bot-safe-agents";
|
|
tag = "v${version}";
|
|
hash = "sha256-XO7iCZ7Dik7CmeFPwmMZf5K4COT5mRhDZMTsQxfR45c=";
|
|
};
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
pythonImportsCheck = [ "bot_safe_agents" ];
|
|
|
|
meta = {
|
|
description = "Library for fetching a list of bot-safe user agents";
|
|
homepage = "https://github.com/ivan-sincek/bot-safe-agents";
|
|
changelog = "https://github.com/ivan-sincek/bot-safe-agents/releases/tag/v${version}";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [ ];
|
|
};
|
|
}
|