mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 03:17:13 +00:00
256f4e77c5
Co-authored-by: Fabian Affolter <mail@fabian-affolter.ch>
25 lines
596 B
Nix
25 lines
596 B
Nix
{ lib, pythonOlder, buildPythonPackage, fetchPypi, pytestCheckHook }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "ajsonrpc";
|
|
version = "1.1.0";
|
|
|
|
disabled = pythonOlder "3.5";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "1b5r8975wdnk3qnc1qjnn4lkxmqcir3brbwnxml9ii90dnsw408a";
|
|
};
|
|
|
|
checkInputs = [ pytestCheckHook ];
|
|
|
|
pythonImportsCheck = [ "ajsonrpc" ];
|
|
|
|
meta = with lib; {
|
|
description = "Async JSON-RPC 2.0 protocol + asyncio server";
|
|
homepage = "https://github.com/pavlov99/ajsonrpc";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ oxzi ];
|
|
};
|
|
}
|