python3Packages.gotenberg-client: init at 0.3.0
This commit is contained in:
parent
496167b632
commit
e44b3f0c85
44
pkgs/development/python-modules/gotenberg-client/default.nix
Normal file
44
pkgs/development/python-modules/gotenberg-client/default.nix
Normal file
@ -0,0 +1,44 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pythonOlder
|
||||
, hatchling
|
||||
, httpx
|
||||
, typing-extensions
|
||||
}:
|
||||
buildPythonPackage rec {
|
||||
pname = "gotenberg-client";
|
||||
version = "0.3.0";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "stumpylog";
|
||||
repo = "gotenberg-client";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-xgkpVvklZrew+XOoqFKcbuDsTVfDda67R6YIxR3kzS8=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
hatchling
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
httpx
|
||||
] ++ lib.optionals (pythonOlder "3.11") [
|
||||
typing-extensions
|
||||
] ++ httpx.optional-dependencies.http2;
|
||||
|
||||
pythonImportsCheck = [
|
||||
"gotenberg_client"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A Python client for interfacing with the Gotenberg API";
|
||||
homepage = "https://github.com/stumpylog/gotenberg-client";
|
||||
changelog = "https://github.com/stumpylog/gotenberg-client/blob/${version}/CHANGELOG.md";
|
||||
license = licenses.mpl20;
|
||||
maintainers = with maintainers; [ leona ];
|
||||
};
|
||||
}
|
@ -4686,6 +4686,8 @@ self: super: with self; {
|
||||
|
||||
googletrans = callPackage ../development/python-modules/googletrans { };
|
||||
|
||||
gotenberg-client = callPackage ../development/python-modules/gotenberg-client { };
|
||||
|
||||
gorilla = callPackage ../development/python-modules/gorilla { };
|
||||
|
||||
govee-ble = callPackage ../development/python-modules/govee-ble { };
|
||||
|
Loading…
Reference in New Issue
Block a user