1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 setuptools, 6 pythonOlder, 7 pydantic, 8 requests, 9 tqdm, 10 typer, 11}: 12 13buildPythonPackage rec { 14 pname = "python-on-whales"; 15 version = "0.69.0"; 16 pyproject = true; 17 18 disabled = pythonOlder "3.8"; 19 20 src = fetchFromGitHub { 21 owner = "gabrieldemarmiesse"; 22 repo = "python-on-whales"; 23 rev = "refs/tags/v${version}"; 24 hash = "sha256-2ZrbiHvcYwerhGQmtC/903W/WpuqgYqapRzLpu30sRs="; 25 }; 26 27 nativeBuildInputs = [ setuptools ]; 28 29 propagatedBuildInputs = [ 30 pydantic 31 requests 32 tqdm 33 typer 34 ]; 35 36 doCheck = false; # majority of tests require Docker and/or network access 37 pythonImportsCheck = [ "python_on_whales" ]; 38 39 meta = with lib; { 40 description = "Docker client for Python, designed to be fun and intuitive"; 41 mainProgram = "python-on-whales"; 42 homepage = "https://github.com/gabrieldemarmiesse/python-on-whales"; 43 changelog = "https://github.com/gabrieldemarmiesse/python-on-whales/releases/tag/v${version}"; 44 license = licenses.mit; 45 maintainers = with maintainers; [ bcdarwin ]; 46 }; 47}