1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 pillow,
6 numpy,
7}:
8let
9 version = "0.2.1+";
10in
11buildPythonPackage {
12 pname = "pyphotonfile";
13 format = "setuptools";
14 inherit version;
15
16 dontUseSetuptoolsCheck = true;
17 propagatedBuildInputs = [
18 pillow
19 numpy
20 ];
21
22 src = fetchFromGitHub {
23 owner = "cab404";
24 repo = "pyphotonfile";
25 rev = "b7ee92a0071007bb1d6a5984262651beec26543d";
26 sha256 = "iB5ky4fPX8ZnvXlDpggqS/345k2x/mPC4cIgb9M0f/c=";
27 };
28
29 meta = with lib; {
30 maintainers = [ maintainers.cab404 ];
31 license = licenses.gpl3Plus;
32 description = "Library for reading and writing files for the Anycubic Photon 3D-Printer";
33 homepage = "https://github.com/cab404/pyphotonfile";
34 };
35}