Commit c1b793e5 authored by Jamie Magee's avatar Jamie Magee
Browse files

python3Packages.epaper-dithering: init at 0.6.3

parent 32cbbb03
Loading
Loading
Loading
Loading
+43 −0
Original line number Diff line number Diff line
{
  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 ];
  };
})
+4 −0
Original line number Diff line number Diff line
@@ -5054,6 +5054,8 @@ self: super: with self; {
  enzyme = callPackage ../development/python-modules/enzyme { };
  epaper-dithering = callPackage ../development/python-modules/epaper-dithering { };
  epc = callPackage ../development/python-modules/epc { };
  ephem = callPackage ../development/python-modules/ephem { };
@@ -13145,6 +13147,8 @@ self: super: with self; {
  py-ocsf-models = callPackage ../development/python-modules/py-ocsf-models { };
  py-opendisplay = callPackage ../development/python-modules/py-opendisplay { };
  py-opensonic = callPackage ../development/python-modules/py-opensonic { };
  py-partiql-parser = callPackage ../development/python-modules/py-partiql-parser { };