forbidden: 12.6 -> 13.2 (#400696)
This commit is contained in:
@@ -6,23 +6,23 @@
|
||||
|
||||
python3.pkgs.buildPythonApplication rec {
|
||||
pname = "forbidden";
|
||||
version = "12.6";
|
||||
version = "13.2";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ivan-sincek";
|
||||
repo = "forbidden";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-KE2FHn0ocAna5ReRi9re/u8gdNVkCygSbSRj8gEudgI=";
|
||||
hash = "sha256-DQ8zjiLTgBBoqp8AP5BYULz4KGnVEt8e7bkfYRGWvFw=";
|
||||
};
|
||||
|
||||
build-system = with python3.pkgs; [
|
||||
setuptools
|
||||
];
|
||||
build-system = with python3.pkgs; [ setuptools ];
|
||||
|
||||
dependencies = with python3.pkgs; [
|
||||
alive-progress
|
||||
bot-safe-agents
|
||||
colorama
|
||||
cryptography
|
||||
pycurl
|
||||
pyjwt
|
||||
regex
|
||||
@@ -31,16 +31,17 @@ python3.pkgs.buildPythonApplication rec {
|
||||
termcolor
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"forbidden"
|
||||
];
|
||||
# Project has no tests
|
||||
doCheck = false;
|
||||
|
||||
meta = with lib; {
|
||||
pythonImportsCheck = [ "forbidden" ];
|
||||
|
||||
meta = {
|
||||
description = "Tool to bypass 4xx HTTP response status code";
|
||||
homepage = "https://github.com/ivan-sincek/forbidden";
|
||||
changelog = "https://github.com/ivan-sincek/forbidden/releases/tag/v${version}";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ fab ];
|
||||
changelog = "https://github.com/ivan-sincek/forbidden/releases/tag/${src.tag}";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ fab ];
|
||||
mainProgram = "forbidden";
|
||||
};
|
||||
}
|
||||
|
||||
@@ -0,0 +1,31 @@
|
||||
{
|
||||
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; [ emaryn ];
|
||||
};
|
||||
}
|
||||
@@ -2011,6 +2011,8 @@ self: super: with self; {
|
||||
|
||||
bottombar = callPackage ../development/python-modules/bottombar { };
|
||||
|
||||
bot-safe-agents = callPackage ../development/python-modules/bot-safe-agents { };
|
||||
|
||||
bpemb = callPackage ../development/python-modules/bpemb { };
|
||||
|
||||
bpylist2 = callPackage ../development/python-modules/bpylist2 { };
|
||||
|
||||
Reference in New Issue
Block a user