Files
nixpkgs/pkgs/development/python-modules/cleo/default.nix
T
Michael Daniels 075e8c2c4f treewide: change 'format = "pyproject";' to 'pyproject = true;'
This is almost all find-and-replace.

I manually edited:
* pkgs/development/python-modules/notifications-android-tv/default.nix,
* pkgs/servers/home-assistant/default.nix,
* pkgs/development/tools/continuous-integration/buildbot/master.nix

A few files have not been changed in this PR because they would cause rebuilds.

This PR should have 0 rebuilds.
2026-01-12 17:50:35 -05:00

55 lines
1.0 KiB
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
crashtest,
poetry-core,
pytest-mock,
pytestCheckHook,
rapidfuzz,
}:
buildPythonPackage rec {
pname = "cleo";
version = "2.2.1";
pyproject = true;
src = fetchFromGitHub {
owner = "python-poetry";
repo = "cleo";
tag = version;
hash = "sha256-+OvE09hbF6McdXpXdv5UBdZ0LiSOTL8xyE/+bBNIFNk=";
};
nativeBuildInputs = [
poetry-core
];
pythonRelaxDeps = [ "rapidfuzz" ];
propagatedBuildInputs = [
crashtest
rapidfuzz
];
pythonImportsCheck = [
"cleo"
"cleo.application"
"cleo.commands.command"
"cleo.helpers"
];
nativeCheckInputs = [
pytest-mock
pytestCheckHook
];
meta = {
homepage = "https://github.com/python-poetry/cleo";
changelog = "https://github.com/python-poetry/cleo/blob/${src.rev}/CHANGELOG.md";
description = "Allows you to create beautiful and testable command-line interfaces";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ jakewaksbaum ];
};
}