Something went wrong. Try again.
lol
Something went wrong. Try again.
1.2 kB · 53 lines
Nix
at master
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354{ lib, buildPythonPackage, fetchPypi, setuptools, pillow, smbus2, pyftdi, cbor2, rpi-gpio, spidev,}:buildPythonPackage rec { pname = "luma-core"; version = "2.5.3";
src = fetchPypi { pname = "luma_core"; inherit version; hash = "sha256-7PscEvwy+O5s/w9hOASyYJOHwXVH9znQAmSfLm1W7C8="; };
build-system = [ setuptools ]; pyproject = true;
dependencies = [ pillow smbus2 cbor2 ] ++ optional-dependencies.complete;
optional-dependencies = { gpio = [ rpi-gpio ]; spi = [ spidev ]; ftdi = [ pyftdi ]; complete = with optional-dependencies; gpio ++ spi ++ ftdi; };
meta = { description = "Pillow-compatible drawing canvas library for SBCs"; longDescription = '' A component library providing a Pillow-compatible drawing canvas, and other functionality to support drawing primitives and text-rendering capabilities for small displays on the Raspberry Pi and other single board computers. ''; homepage = "https://luma-core.readthedocs.io/"; changelog = "https://github.com/rm-hull/luma.core/blob/${version}/CHANGES.rst"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ eymeric ]; };}