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