13 buildPythonPackage rec {
14 pname = "simple-rest-client";
16 format = "setuptools";
18 disabled = pythonOlder "3.8";
20 src = fetchFromGitHub {
22 repo = "python-simple-rest-client";
24 hash = "sha256-IaLo7nBMIabi4ZjZ4ZLJliCL/dzidaCBCmn0cq7Fzdw=";
27 propagatedBuildInputs = [
40 substituteInPlace setup.py \
41 --replace "pytest-runner" ""
42 substituteInPlace pytest.ini \
43 --replace " --cov=simple_rest_client --cov-report=term-missing" ""
44 substituteInPlace requirements-dev.txt \
45 --replace "asyncmock" ""
49 "tests/test_decorators.py"
52 pythonImportsCheck = [
57 description = "Simple REST client for Python";
58 homepage = "https://github.com/allisson/python-simple-rest-client";
59 license = with licenses; [ mit ];
60 maintainers = with maintainers; [ fab ];