python3Packages.pyimgbox: init at 1.0.7

This commit is contained in:
Bruno BELANYI
2025-06-09 16:42:33 +00:00
parent ab4d949e6a
commit 057f4d3c3f
2 changed files with 53 additions and 0 deletions
@@ -0,0 +1,51 @@
{
lib,
buildPythonPackage,
fetchFromGitea,
beautifulsoup4,
httpx,
pytest-asyncio,
pytest-httpserver,
pytest-mock,
pytestCheckHook,
setuptools,
}:
buildPythonPackage rec {
pname = "pyimgbox";
version = "1.0.7";
pyproject = true;
src = fetchFromGitea {
domain = "codeberg.org";
owner = "plotski";
repo = "pyimgbox";
tag = "v${version}";
hash = "sha256-HYKi5nYXJ+5ytQEFVMMm1HxEsD1zMU7cE2mOdwuZxvk=";
};
build-system = [
setuptools
];
dependencies = [
httpx
beautifulsoup4
];
nativeCheckInputs = [
pytest-asyncio
pytest-httpserver
pytest-mock
pytestCheckHook
];
pythonImportsCheck = [ "pyimgbox" ];
meta = {
description = "API for uploading images to imgbox.com";
homepage = "https://codeberg.org/plotski/pyimgbox";
license = lib.licenses.gpl3Plus;
maintainers = with lib.maintainers; [ ambroisie ];
};
}
+2
View File
@@ -12546,6 +12546,8 @@ self: super: with self; {
pyicumessageformat = callPackage ../development/python-modules/pyicumessageformat { };
pyimgbox = callPackage ../development/python-modules/pyimgbox { };
pyimpfuzzy = callPackage ../development/python-modules/pyimpfuzzy { inherit (pkgs) ssdeep; };
pyindego = callPackage ../development/python-modules/pyindego { };