Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at gcc-offload 48 lines 1.1 kB view raw
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.73.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-i2lctR5V4hF/cS46d+TW73iKZ+2G/UwiHMNbtP/Z7xo="; 25 }; 26 27 build-system = [ setuptools ]; 28 29 dependencies = [ 30 pydantic 31 requests 32 tqdm 33 typer 34 ]; 35 36 doCheck = false; # majority of tests require Docker and/or network access 37 38 pythonImportsCheck = [ "python_on_whales" ]; 39 40 meta = with lib; { 41 description = "Docker client for Python, designed to be fun and intuitive"; 42 mainProgram = "python-on-whales"; 43 homepage = "https://github.com/gabrieldemarmiesse/python-on-whales"; 44 changelog = "https://github.com/gabrieldemarmiesse/python-on-whales/releases/tag/v${version}"; 45 license = licenses.mit; 46 maintainers = with maintainers; [ bcdarwin ]; 47 }; 48}