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