Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

python312Packages.brother-ql: switch to maintained fork #328273

Merged
merged 4 commits into from
Sep 10, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 10 additions & 16 deletions pkgs/development/python-modules/brother-ql/default.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
fetchPypi,
fetchpatch,
buildPythonPackage,
setuptools,
future,
packbits,
pillow,
Expand All @@ -10,36 +10,30 @@
mock,
click,
attrs,
jsons,
lib,
}:

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

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

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

patches = [
(fetchpatch {
# Make compatible with Pillow>=10.0; https://github.com/pklaus/brother_ql/pull/143
name = "brother-ql-pillow10-compat.patch";
url = "https://github.com/pklaus/brother_ql/commit/a7e1b94b41f3a6e0f8b365598bc34fb47ca95a6d.patch";
hash = "sha256-v3YhmsUWBwE/Vli1SbTQO8q1zbtWYI9iMlVFvz5sxmg=";
})
jsons
];

meta = with lib; {
Expand All @@ -48,8 +42,8 @@ buildPythonPackage rec {
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/pklaus/brother_ql";
license = licenses.gpl3;
homepage = "https://github.com/LunarEclipse363/brother_ql_next";
license = licenses.gpl3Only;
maintainers = with maintainers; [ grahamc ];
mainProgram = "brother_ql";
};
Expand Down