Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
827 B · 42 lines
Nix
12345678910111213141516171819202122232425262728293031323334353637383940414243{ lib, buildPythonPackage, fetchFromGitHub, pytest-asyncio, pytestCheckHook, pythonOlder, setuptools,}:
buildPythonPackage rec { pname = "jsonrpc-base"; version = "2.2.0"; pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub { owner = "emlove"; repo = "jsonrpc-base"; tag = version; hash = "sha256-AbpuAW+wuGc+Vj4FDFlyB2YbiwDxPLuyAGiNcmGU+Ss="; };
nativeBuildInputs = [ setuptools ];
nativeCheckInputs = [ pytest-asyncio pytestCheckHook ];
enabledTestPaths = [ "tests.py" ];
pythonImportsCheck = [ "jsonrpc_base" ];
meta = with lib; { description = "JSON-RPC client library base interface"; homepage = "https://github.com/emlove/jsonrpc-base"; license = licenses.bsd3; maintainers = with maintainers; [ peterhoeg ]; };}