Skip to content

Commit b2345d6

Browse files
python3Packages.zebrafy: init at 1.2.2
Signed-off-by: Ethan Carter Edwards <[email protected]>
1 parent 9156ca9 commit b2345d6

File tree

2 files changed

+52
-0
lines changed

2 files changed

+52
-0
lines changed
Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
{
2+
lib,
3+
buildPythonPackage,
4+
fetchFromGitHub,
5+
setuptools,
6+
setuptools-scm,
7+
pillow,
8+
pypdfium2,
9+
pytest-cov-stub,
10+
pytestCheckHook,
11+
}:
12+
13+
buildPythonPackage rec {
14+
pname = "zebrafy";
15+
version = "1.2.2";
16+
pyproject = true;
17+
18+
src = fetchFromGitHub {
19+
owner = "miikanissi";
20+
repo = "zebrafy";
21+
tag = version;
22+
hash = "sha256-B8jrFQh5swDMfYjdMcY0Hh2VAzknDwarDKVAML6F2r4=";
23+
};
24+
25+
build-system = [
26+
setuptools
27+
setuptools-scm
28+
];
29+
30+
dependencies = [
31+
pillow
32+
pypdfium2
33+
];
34+
35+
pythonImportsCheck = [ "zebrafy" ];
36+
37+
nativeCheckInputs = [
38+
pytestCheckHook
39+
pytest-cov-stub
40+
];
41+
42+
meta = {
43+
description = "Python library for converting PDF and images to and from Zebra Programming Language";
44+
downloadPage = "https://github.com/miikanissi/zebrafy";
45+
changelog = "https://github.com/miikanissi/zebrafy/releases/tag/${version}";
46+
homepage = "https://zebrafy.readthedocs.io/en/latest/";
47+
license = lib.licenses.lgpl3Plus;
48+
maintainers = with lib.maintainers; [ ethancedwards8 ];
49+
};
50+
}

pkgs/top-level/python-packages.nix

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18721,6 +18721,8 @@ self: super: with self; {
1872118721

1872218722
zdaemon = callPackage ../development/python-modules/zdaemon { };
1872318723

18724+
zebrafy = callPackage ../development/python-modules/zebrafy { };
18725+
1872418726
zeek = (toPythonModule (pkgs.zeek.broker.override {
1872518727
python3 = python;
1872618728
})).py;

0 commit comments

Comments
 (0)