Unverified Commit b2345d66 authored by Ethan Carter Edwards's avatar Ethan Carter Edwards
Browse files

python3Packages.zebrafy: init at 1.2.2

parent 9156ca93
Loading
Loading
Loading
Loading
+50 −0
Original line number Diff line number Diff line
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  setuptools,
  setuptools-scm,
  pillow,
  pypdfium2,
  pytest-cov-stub,
  pytestCheckHook,
}:

buildPythonPackage rec {
  pname = "zebrafy";
  version = "1.2.2";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "miikanissi";
    repo = "zebrafy";
    tag = version;
    hash = "sha256-B8jrFQh5swDMfYjdMcY0Hh2VAzknDwarDKVAML6F2r4=";
  };

  build-system = [
    setuptools
    setuptools-scm
  ];

  dependencies = [
    pillow
    pypdfium2
  ];

  pythonImportsCheck = [ "zebrafy" ];

  nativeCheckInputs = [
    pytestCheckHook
    pytest-cov-stub
  ];

  meta = {
    description = "Python library for converting PDF and images to and from Zebra Programming Language";
    downloadPage = "https://github.com/miikanissi/zebrafy";
    changelog = "https://github.com/miikanissi/zebrafy/releases/tag/${version}";
    homepage = "https://zebrafy.readthedocs.io/en/latest/";
    license = lib.licenses.lgpl3Plus;
    maintainers = with lib.maintainers; [ ethancedwards8 ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -18721,6 +18721,8 @@ self: super: with self; {
  zdaemon = callPackage ../development/python-modules/zdaemon { };
  zebrafy = callPackage ../development/python-modules/zebrafy { };
  zeek = (toPythonModule (pkgs.zeek.broker.override {
    python3 = python;
  })).py;