Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.0 kB · 53 lines
Nix
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354{ lib, buildPythonPackage, fastapi, fetchFromGitHub, hatchling, hatch-regex-commit, httpx, pytest-asyncio, pytest-cov-stub, pytest-mock, pytestCheckHook, respx,}:
buildPythonPackage rec { pname = "httpx-oauth"; version = "0.16.1"; pyproject = true;
src = fetchFromGitHub { owner = "frankie567"; repo = "httpx-oauth"; tag = "v${version}"; hash = "sha256-/2IBAEZrK0Do7t9g+MWsKuIlcg0ANCfOoagVwTbBso8="; };
build-system = [ hatchling hatch-regex-commit ];
dependencies = [ httpx ];
nativeCheckInputs = [ fastapi pytest-asyncio pytest-cov-stub pytest-mock pytestCheckHook respx ];
pythonImportsCheck = [ "httpx_oauth" ];
meta = with lib; { description = "Async OAuth client using HTTPX"; homepage = "https://github.com/frankie567/httpx-oauth"; changelog = "https://github.com/frankie567/httpx-oauth/releases/tag/v${version}"; license = licenses.mit; maintainers = with maintainers; [ SuperSandro2000 ]; };}