Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / ajsonrpc / default.nix
blob0dd07c0f4eea5ca4a98d382bc3ed5f367e09220c
1 { lib, pythonOlder, buildPythonPackage, fetchPypi, pytestCheckHook }:
3 buildPythonPackage rec {
4   pname = "ajsonrpc";
5   version = "1.2.0";
7   disabled = pythonOlder "3.5";
9   src = fetchPypi {
10     inherit pname version;
11     sha256 = "791bac18f0bf0dee109194644f151cf8b7ff529c4b8d6239ac48104a3251a19f";
12   };
14   nativeCheckInputs = [ pytestCheckHook ];
16   pythonImportsCheck = [ "ajsonrpc" ];
18   meta = with lib; {
19     description = "Async JSON-RPC 2.0 protocol + asyncio server";
20     homepage = "https://github.com/pavlov99/ajsonrpc";
21     license = licenses.mit;
22     maintainers = with maintainers; [ oxzi ];
23   };