Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.4 kB · 66 lines
Nix
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667{ lib, aiohttp, buildPythonPackage, fetchFromGitHub, flit-core, mock, pytestCheckHook, pytest-asyncio, pytest-vcr, pythonOlder, requests, requests-toolbelt, testfixtures, vcrpy, yarl,}:
buildPythonPackage rec { pname = "asyncprawcore"; version = "2.4.0"; pyproject = true;
disabled = pythonOlder "3.8";
src = fetchFromGitHub { owner = "praw-dev"; repo = "asyncprawcore"; tag = "v${version}"; hash = "sha256-FDQdtnNjsbiEp9BUYdQFMC/hkyJDhCh2WHhQWSQwrFY="; };
nativeBuildInputs = [ flit-core ];
propagatedBuildInputs = [ requests aiohttp yarl ];
nativeCheckInputs = [ testfixtures mock requests-toolbelt pytestCheckHook pytest-asyncio pytest-vcr vcrpy ];
disabledTestPaths = [ # Ignored due to error with request cannot pickle 'BufferedReader' instances # Upstream issue: https://github.com/kevin1024/vcrpy/issues/737 "tests/integration/test_sessions.py" ];
pythonImportsCheck = [ "asyncprawcore" ];
meta = { description = "Low-level asynchronous communication layer for Async PRAW"; homepage = "https://asyncpraw.readthedocs.io/"; changelog = "https://github.com/praw-dev/asyncprawcore/blob/v${version}/CHANGES.rst"; license = lib.licenses.bsd2; maintainers = [ lib.maintainers.amadejkastelic ]; };}