14 buildPythonPackage rec {
15 pname = "simple-rest-client";
17 format = "setuptools";
19 disabled = pythonOlder "3.8";
21 src = fetchFromGitHub {
23 repo = "python-simple-rest-client";
25 hash = "sha256-IaLo7nBMIabi4ZjZ4ZLJliCL/dzidaCBCmn0cq7Fzdw=";
28 propagatedBuildInputs = [
41 substituteInPlace setup.py \
42 --replace "pytest-runner" ""
43 substituteInPlace pytest.ini \
44 --replace " --cov=simple_rest_client --cov-report=term-missing" ""
45 substituteInPlace requirements-dev.txt \
46 --replace "asyncmock" ""
49 disabledTestPaths = [ "tests/test_decorators.py" ];
51 pythonImportsCheck = [ "simple_rest_client" ];
54 description = "Simple REST client for Python";
55 homepage = "https://github.com/allisson/python-simple-rest-client";
56 license = with licenses; [ mit ];
57 maintainers = with maintainers; [ fab ];