ripasso-cursive: cosmetic changes (#361736)
[NixPkgs.git] / pkgs / by-name / cu / cups-printers / package.nix
blob7b0cf99298a87d84d6f496fc7953bed32ae51735
2   lib,
3   fetchFromGitHub,
4   python3,
5 }:
7 python3.pkgs.buildPythonApplication rec {
8   pname = "cups-printers";
9   version = "1.0.0";
10   pyproject = true;
12   src = fetchFromGitHub {
13     owner = "audiusGmbH";
14     repo = "cups-printers";
15     rev = "refs/tags/${version}";
16     hash = "sha256-HTR9t9ElQmCzJfdWyu+JQ8xBfDNpXl8XtNsJxGSfBXk=";
17   };
19   pythonRelaxDeps = [
20     "typer"
21     "validators"
22   ];
24   build-system = with python3.pkgs; [ poetry-core ];
27   dependencies =
28     with python3.pkgs;
29     [
30       pycups
31       typer
32       validators
33     ];
35   # Project has no tests
36   doCheck = false;
38   pythonImportsCheck = [ "cups_printers" ];
40   meta = with lib; {
41     description = "Tool for interacting with a CUPS server";
42     homepage = "https://github.com/audiusGmbH/cups-printers";
43     changelog = "https://github.com/audiusGmbH/cups-printers/blob/${version}/CHANGELOG.md";
44     license = licenses.mit;
45     maintainers = with maintainers; [ fab ];
46     mainProgram = "cups-printers";
47   };