python3Packages.pyimgbox: init at 1.0.7
This commit is contained in:
@@ -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 ];
|
||||
};
|
||||
}
|
||||
@@ -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 { };
|
||||
|
||||
Reference in New Issue
Block a user