Something went wrong. Try again.
Nix Packages collection & NixOS github.com/NixOS/nixpkgs
Something went wrong. Try again.
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950{ lib, buildPythonPackage, fetchFromGitHub, hatchling, httpx, niquests, python-magic, requests,}:buildPythonPackage rec { pname = "gotenberg-client"; version = "1.0.0"; pyproject = true;
src = fetchFromGitHub { owner = "stumpylog"; repo = "gotenberg-client"; tag = version; hash = "sha256-NgfqUgtD70XvpFee8e32rTPe3TOS+JdmCnefzFY4gNY="; };
build-system = [ hatchling ];
dependencies = [ httpx ] ++ httpx.optional-dependencies.http2;
optional-dependencies = { httpx = [ httpx ] ++ httpx.optional-dependencies.http2; magic = [ python-magic ]; niquests = [ niquests ]; requests = [ requests ]; };
# requires running gotenberg service doCheck = false;
pythonImportsCheck = [ "gotenberg_client" ];
meta = { description = "Python client for interfacing with the Gotenberg API"; homepage = "https://github.com/stumpylog/gotenberg-client"; changelog = "https://github.com/stumpylog/gotenberg-client/blob/${src.tag}/CHANGELOG.md"; license = lib.licenses.mpl20; maintainers = with lib.maintainers; [ leona ]; };}