Something went wrong. Try again.
lol
Something went wrong. Try again.
977 B · 43 lines
Nix
at master
1234567891011121314151617181920212223242526272829303132333435363738394041424344{ lib, buildPythonPackage, fetchFromGitHub, hatchling, numpy, pillow, pytestCheckHook,}:
buildPythonPackage (finalAttrs: { pname = "epaper-dithering"; version = "0.6.3"; pyproject = true;
src = fetchFromGitHub { owner = "OpenDisplay"; repo = "epaper-dithering"; tag = "python-v${finalAttrs.version}"; hash = "sha256-h84AgWJR8zVuwoz02A3U82yTOw4MSK9DjaxkYi0nWkM="; };
sourceRoot = "${finalAttrs.src.name}/packages/python";
build-system = [ hatchling ];
dependencies = [ numpy pillow ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "epaper_dithering" ];
meta = { description = "Dithering algorithms for e-paper/e-ink displays"; homepage = "https://github.com/OpenDisplay/epaper-dithering"; changelog = "https://github.com/OpenDisplay/epaper-dithering/releases/tag/${finalAttrs.src.tag}"; license = lib.licenses.mit; maintainers = [ lib.maintainers.jamiemagee ]; };})