02dab4ab5c
Long term we should move everything over to `pyproject = true`, but in the mean time we can work towards deprecating the implicit `format` paremeter. cc https://github.com/NixOS/nixpkgs/issues/253154 cc @mweinelt @figsoda
34 lines
730 B
Nix
34 lines
730 B
Nix
{ lib
|
|
, fetchPypi
|
|
, buildPythonPackage
|
|
, pythonOlder
|
|
, attrs
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "aiorpcx";
|
|
version = "0.22.1";
|
|
format = "setuptools";
|
|
|
|
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 ];
|
|
};
|
|
}
|