Merge pull request #307665 from fabaff/cups-printers-fix
cups-printers: relax typer
This commit is contained in:
commit
7637b9ba91
@ -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";
|
||||||
|
Loading…
Reference in New Issue
Block a user