Files
nixpkgs/pkgs/development/python-modules/brother-ql/default.nix
T
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

49 lines
1.0 KiB
Nix

{
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;
maintainers = with lib.maintainers; [ grahamc ];
mainProgram = "brother_ql";
};
}