depot/third_party/nixpkgs/pkgs/development/python-modules/aiorpcx/default.nix

34 lines
705 B
Nix
Raw Normal View History

{ lib
, fetchPypi
, buildPythonPackage
, pythonOlder
, attrs
}:
buildPythonPackage rec {
pname = "aiorpcx";
version = "0.22.1";
src = fetchPypi {
inherit version;
pname = "aiorpcX";
sha256 = "0lx54bcinp44fmr8q4bbffsqbkg8kdcwykf9i5jj0bj3sfzgf9k0";
};
propagatedBuildInputs = [ attrs ];
disabled = pythonOlder "3.6";
# Checks needs internet access
doCheck = false;
pythonImportsCheck = [ "aiorpcx" ];
meta = with lib; {
description = "Transport, protocol and framing-independent async RPC client and server implementation";
homepage = "https://github.com/kyuupichan/aiorpcX";
license = licenses.mit;
maintainers = with maintainers; [ prusnak ];
};
}