2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
fetchPypi,
|
|
|
|
buildPythonPackage,
|
2024-09-19 14:19:46 +00:00
|
|
|
setuptools,
|
2024-06-05 15:53:02 +00:00
|
|
|
future,
|
|
|
|
packbits,
|
|
|
|
pillow,
|
|
|
|
pyusb,
|
|
|
|
click,
|
|
|
|
attrs,
|
2024-09-19 14:19:46 +00:00
|
|
|
jsons,
|
2024-06-05 15:53:02 +00:00
|
|
|
lib,
|
2022-01-03 16:56:52 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "brother-ql";
|
2024-09-19 14:19:46 +00:00
|
|
|
version = "0.11.2";
|
|
|
|
pyproject = true;
|
2022-01-03 16:56:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
2024-09-19 14:19:46 +00:00
|
|
|
pname = "brother_ql_next";
|
2022-01-03 16:56:52 +00:00
|
|
|
inherit version;
|
2024-09-19 14:19:46 +00:00
|
|
|
hash = "sha256-3rTf+4W5KK7zSGIE3bBHXHE0hjyvpjB0IiEtbax6mkU=";
|
2022-01-03 16:56:52 +00:00
|
|
|
};
|
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
propagatedBuildInputs = [
|
2024-09-19 14:19:46 +00:00
|
|
|
setuptools
|
2024-06-05 15:53:02 +00:00
|
|
|
future
|
|
|
|
packbits
|
|
|
|
pillow
|
|
|
|
pyusb
|
|
|
|
click
|
|
|
|
attrs
|
2024-09-19 14:19:46 +00:00
|
|
|
jsons
|
2024-01-02 11:29:13 +00:00
|
|
|
];
|
|
|
|
|
2022-01-03 16:56:52 +00:00
|
|
|
meta = with lib; {
|
|
|
|
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)
|
|
|
|
'';
|
2024-09-19 14:19:46 +00:00
|
|
|
homepage = "https://github.com/LunarEclipse363/brother_ql_next";
|
|
|
|
license = licenses.gpl3Only;
|
2022-01-03 16:56:52 +00:00
|
|
|
maintainers = with maintainers; [ grahamc ];
|
2023-04-29 16:46:19 +00:00
|
|
|
mainProgram = "brother_ql";
|
2022-01-03 16:56:52 +00:00
|
|
|
};
|
|
|
|
}
|