1{
2 fetchPypi,
3 buildPythonPackage,
4 setuptools,
5 future,
6 packbits,
7 pillow,
8 pyusb,
9 click,
10 attrs,
11 jsons,
12 lib,
13}:
14
15buildPythonPackage rec {
16 pname = "brother-ql";
17 version = "0.11.2";
18 pyproject = true;
19
20 src = fetchPypi {
21 pname = "brother_ql_next";
22 inherit version;
23 hash = "sha256-3rTf+4W5KK7zSGIE3bBHXHE0hjyvpjB0IiEtbax6mkU=";
24 };
25
26 propagatedBuildInputs = [
27 setuptools
28 future
29 packbits
30 pillow
31 pyusb
32 click
33 attrs
34 jsons
35 ];
36
37 meta = with lib; {
38 description = "Python package for the raster language protocol of the Brother QL series label printers";
39 longDescription = ''
40 Python package for the raster language protocol of the Brother QL series label printers
41 (QL-500, QL-550, QL-570, QL-700, QL-710W, QL-720NW, QL-800, QL-820NWB, QL-1050 and more)
42 '';
43 homepage = "https://github.com/LunarEclipse363/brother_ql_next";
44 license = licenses.gpl3Only;
45 maintainers = with maintainers; [ grahamc ];
46 mainProgram = "brother_ql";
47 };
48}