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