Since 2024-10-13, `typer`, `tqdm`, and `requests` are no longer required [1]. Removing them reduces the closure size of python-on-whales. This drops most of tkinter's reverse dependencies, and may even make it not be a mass-rebuild. [1] https://github.com/gabrieldemarmiesse/python-on-whales/pull/633
43 lines
954 B
Nix
43 lines
954 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
|
|
# build-system
|
|
setuptools,
|
|
|
|
# dependencies
|
|
pydantic,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "python-on-whales";
|
|
version = "0.78.0";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "gabrieldemarmiesse";
|
|
repo = "python-on-whales";
|
|
tag = "v${version}";
|
|
hash = "sha256-mpCBqFxxFxljhoTveLmk4XfqngiQPsufqr927hSwNfA=";
|
|
};
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
dependencies = [
|
|
pydantic
|
|
];
|
|
|
|
doCheck = false; # majority of tests require Docker and/or network access
|
|
|
|
pythonImportsCheck = [ "python_on_whales" ];
|
|
|
|
meta = {
|
|
description = "Docker client for Python, designed to be fun and intuitive";
|
|
homepage = "https://github.com/gabrieldemarmiesse/python-on-whales";
|
|
changelog = "https://github.com/gabrieldemarmiesse/python-on-whales/releases/tag/${src.tag}";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [ bcdarwin ];
|
|
};
|
|
}
|