Commit 41aba865 authored by Sigmanificient's avatar Sigmanificient
Browse files

python3Packages.jsonrpc-server,docker: drop python 3.2 checks

parent c2f97d3f
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -4,7 +4,7 @@
, pyyaml, colorama, docopt
, dockerpty, docker, jsonschema, requests
, six, texttable, websocket-client, cached-property
, enum34, functools32, paramiko, distro, python-dotenv
, enum34, paramiko, distro, python-dotenv
}:

buildPythonApplication rec {
@@ -25,8 +25,7 @@ buildPythonApplication rec {
    jsonschema requests six texttable websocket-client
    docopt cached-property paramiko distro python-dotenv
  ]
  ++ lib.optional (pythonOlder "3.4") enum34
  ++ lib.optional (pythonOlder "3.2") functools32;
  ++ lib.optional (pythonOlder "3.4") enum34;

  postPatch = ''
    # Remove upper bound on requires, see also
+3 −4
Original line number Diff line number Diff line
{ lib, buildPythonPackage, fetchFromGitHub, pythonOlder
{ lib, buildPythonPackage, fetchFromGitHub
, pytestCheckHook, mock, pytest-cov, coverage
, future, futures ? null, ujson}:
, future, ujson}:

buildPythonPackage rec {
  pname = "python-jsonrpc-server";
@@ -22,8 +22,7 @@ buildPythonPackage rec {
    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";