1
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-06-29 12:35:10 +03:00
nixpkgs/pkgs/development/python-modules/jsonrpc-base/default.nix

35 lines
651 B
Nix
Raw Normal View History

{ lib
, buildPythonPackage
, fetchFromGitHub
, pytest-asyncio
, pytestCheckHook
}:
2018-02-26 19:37:54 +08:00
buildPythonPackage rec {
pname = "jsonrpc-base";
version = "2.1.0";
2018-02-26 19:37:54 +08:00
src = fetchFromGitHub {
owner = "emlove";
repo = pname;
rev = version;
sha256 = "1cd83m831ngck2v8m08pb2g29z4vr9iggi73l7h506v6clkb4n3y";
2018-02-26 19:37:54 +08:00
};
checkInputs = [
pytest-asyncio
pytestCheckHook
];
pytestFlagsArray = [
"tests.py"
];
2018-02-26 19:37:54 +08:00
meta = with lib; {
2018-02-26 19:37:54 +08:00
description = "A JSON-RPC client library base interface";
homepage = "https://github.com/emlove/jsonrpc-base";
2018-02-26 19:37:54 +08:00
license = licenses.bsd3;
maintainers = with maintainers; [ peterhoeg ];
};
}