Files
nixpkgs/pkgs/development/python-modules/zebrafy/default.nix
Ethan Carter Edwards b2345d6680 python3Packages.zebrafy: init at 1.2.2
Signed-off-by: Ethan Carter Edwards <ethan@ethancedwards.com>
2025-02-20 00:20:12 -05:00

51 lines
1.0 KiB
Nix

{
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 ];
};
}