1{ stdenv
2, fetchPypi
3, buildPythonPackage
4, future
5, packbits
6, pillow
7, pyusb
8, pytest
9, mock
10, click
11, attrs
12, lib
13}:
14
15buildPythonPackage rec {
16 pname = "brother-ql";
17 version = "0.9.4";
18
19 src = fetchPypi {
20 pname = "brother_ql";
21 inherit version;
22 hash = "sha256-H1xXoDnwEsnCBDl/RwAB9267dINCHr3phdDLPGFOhmA=";
23 };
24
25 propagatedBuildInputs = [ future packbits pillow pyusb click attrs ];
26
27 meta = with lib; {
28 description = "Python package for the raster language protocol of the Brother QL series label printers";
29 longDescription = ''
30 Python package for the raster language protocol of the Brother QL series label printers
31 (QL-500, QL-550, QL-570, QL-700, QL-710W, QL-720NW, QL-800, QL-820NWB, QL-1050 and more)
32 '';
33 homepage = "https://github.com/pklaus/brother_ql";
34 license = licenses.gpl3;
35 maintainers = with maintainers; [ grahamc ];
36 mainProgram = "brother_ql";
37 };
38}