Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
995 B · 42 lines
Nix
at master
12345678910111213141516171819202122232425262728293031323334353637383940414243{ lib, buildPythonPackage, fetchFromGitHub, pythonOlder, hatchling, httpx, typing-extensions,}:buildPythonPackage rec { pname = "gotenberg-client"; version = "0.11.0"; pyproject = true;
src = fetchFromGitHub { owner = "stumpylog"; repo = "gotenberg-client"; tag = version; hash = "sha256-a/GXVhZtxGgmx5mb8hozbXAI9ecrl0c6BIz3BNekA8Q="; };
build-system = [ hatchling ];
dependencies = [ httpx ] ++ lib.optionals (pythonOlder "3.11") [ typing-extensions ] ++ httpx.optional-dependencies.http2;
# requires running gotenberg service doCheck = false;
pythonImportsCheck = [ "gotenberg_client" ];
meta = with lib; { 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 = licenses.mpl20; maintainers = with maintainers; [ leona ]; };}