summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/brother-ql/default.nix
blob: 3a6058c9c5e5dd9fb0d3f54c44820378e1a1cee0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
{
  fetchPypi,
  buildPythonPackage,
  setuptools,
  future,
  packbits,
  pillow,
  pyusb,
  click,
  attrs,
  jsons,
  lib,
}:

buildPythonPackage rec {
  pname = "brother-ql";
  version = "0.11.2";
  pyproject = true;

  src = fetchPypi {
    pname = "brother_ql_next";
    inherit version;
    hash = "sha256-3rTf+4W5KK7zSGIE3bBHXHE0hjyvpjB0IiEtbax6mkU=";
  };

  propagatedBuildInputs = [
    setuptools
    future
    packbits
    pillow
    pyusb
    click
    attrs
    jsons
  ];

  meta = {
    description = "Python package for the raster language protocol of the Brother QL series label printers";
    longDescription = ''
      Python package for the raster language protocol of the Brother QL series label printers
      (QL-500, QL-550, QL-570, QL-700, QL-710W, QL-720NW, QL-800, QL-820NWB, QL-1050 and more)
    '';
    homepage = "https://github.com/LunarEclipse363/brother_ql_next";
    license = lib.licenses.gpl3Only;
    mainProgram = "brother_ql";
  };
}