nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at r-updates 39 lines 895 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 hatchling, 6 httpx, 7}: 8buildPythonPackage rec { 9 pname = "gotenberg-client"; 10 version = "0.13.1"; 11 pyproject = true; 12 13 src = fetchFromGitHub { 14 owner = "stumpylog"; 15 repo = "gotenberg-client"; 16 tag = version; 17 hash = "sha256-JYb0+Dj4QowcN+I6MMoWlv+Q5YoK4nfzYB/UNwhnRu8="; 18 }; 19 20 build-system = [ hatchling ]; 21 22 dependencies = [ 23 httpx 24 ] 25 ++ httpx.optional-dependencies.http2; 26 27 # requires running gotenberg service 28 doCheck = false; 29 30 pythonImportsCheck = [ "gotenberg_client" ]; 31 32 meta = { 33 description = "Python client for interfacing with the Gotenberg API"; 34 homepage = "https://github.com/stumpylog/gotenberg-client"; 35 changelog = "https://github.com/stumpylog/gotenberg-client/blob/${src.tag}/CHANGELOG.md"; 36 license = lib.licenses.mpl20; 37 maintainers = with lib.maintainers; [ leona ]; 38 }; 39}