Merge pull request #307665 from fabaff/cups-printers-fix

cups-printers: relax typer
This commit is contained in:
Fabian Affolter 2024-04-30 08:50:48 +02:00 committed by GitHub
commit 7637b9ba91
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,6 +1,7 @@
{ lib {
, fetchFromGitHub lib,
, python3 fetchFromGitHub,
python3,
}: }:
python3.pkgs.buildPythonApplication rec { python3.pkgs.buildPythonApplication rec {
@ -16,26 +17,27 @@ python3.pkgs.buildPythonApplication rec {
}; };
pythonRelaxDeps = [ pythonRelaxDeps = [
"typer"
"validators" "validators"
]; ];
nativeBuildInputs = with python3.pkgs; [ build-system = with python3.pkgs; [ poetry-core ];
poetry-core
pythonRelaxDepsHook
];
propagatedBuildInputs = with python3.pkgs; [ nativeBuildInputs = with python3.pkgs; [ pythonRelaxDepsHook ];
dependencies =
with python3.pkgs;
[
pycups pycups
typer typer
validators validators
] ++ typer.optional-dependencies.all; ]
++ typer.optional-dependencies.all;
# Project has no tests # Project has no tests
doCheck = false; doCheck = false;
pythonImportsCheck = [ pythonImportsCheck = [ "cups_printers" ];
"cups_printers"
];
meta = with lib; { meta = with lib; {
description = "Tool for interacting with a CUPS server"; description = "Tool for interacting with a CUPS server";