diff options
Diffstat (limited to 'pkgs/development/python-modules/python-jsonrpc-server/default.nix')
-rw-r--r-- | pkgs/development/python-modules/python-jsonrpc-server/default.nix | 27 |
1 files changed, 20 insertions, 7 deletions
diff --git a/pkgs/development/python-modules/python-jsonrpc-server/default.nix b/pkgs/development/python-modules/python-jsonrpc-server/default.nix index 2cb13c747742e..dd82fbca2cb46 100644 --- a/pkgs/development/python-modules/python-jsonrpc-server/default.nix +++ b/pkgs/development/python-modules/python-jsonrpc-server/default.nix @@ -1,6 +1,14 @@ -{ lib, buildPythonPackage, fetchFromGitHub, pythonOlder -, pytestCheckHook, mock, pytest-cov, coverage -, future, futures ? null, ujson}: +{ + lib, + buildPythonPackage, + fetchFromGitHub, + pytestCheckHook, + mock, + pytest-cov, + coverage, + future, + ujson, +}: buildPythonPackage rec { pname = "python-jsonrpc-server"; @@ -19,15 +27,20 @@ buildPythonPackage rec { ''; nativeCheckInputs = [ - pytestCheckHook mock pytest-cov coverage + pytestCheckHook + mock + pytest-cov + coverage ]; - propagatedBuildInputs = [ future ujson ] - ++ lib.optional (pythonOlder "3.2") futures; + propagatedBuildInputs = [ + future + ujson + ]; meta = with lib; { homepage = "https://github.com/palantir/python-jsonrpc-server"; - description = "A Python 2 and 3 asynchronous JSON RPC server"; + description = "Python 2 and 3 asynchronous JSON RPC server"; license = licenses.mit; maintainers = [ maintainers.mic92 ]; }; |