python3Packages.zebrafy: init at 1.2.2 (#383543)

This commit is contained in:
Robert Schütz
2025-02-19 22:18:54 -08:00
committed by GitHub
2 changed files with 52 additions and 0 deletions
@@ -0,0 +1,50 @@
{
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
View File
@@ -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;