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