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