2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchFromGitHub,
|
|
|
|
pillow,
|
|
|
|
numpy,
|
2020-08-20 17:08:02 +00:00
|
|
|
}:
|
|
|
|
let
|
2024-04-21 15:54:59 +00:00
|
|
|
version = "0.2.1+";
|
2020-08-20 17:08:02 +00:00
|
|
|
in
|
|
|
|
buildPythonPackage {
|
|
|
|
pname = "pyphotonfile";
|
2024-04-21 15:54:59 +00:00
|
|
|
format = "setuptools";
|
2020-08-20 17:08:02 +00:00
|
|
|
inherit version;
|
2024-04-21 15:54:59 +00:00
|
|
|
|
|
|
|
dontUseSetuptoolsCheck = true;
|
2024-06-05 15:53:02 +00:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
pillow
|
|
|
|
numpy
|
|
|
|
];
|
2020-09-25 04:45:31 +00:00
|
|
|
|
2020-08-20 17:08:02 +00:00
|
|
|
src = fetchFromGitHub {
|
2024-04-21 15:54:59 +00:00
|
|
|
owner = "cab404";
|
2020-08-20 17:08:02 +00:00
|
|
|
repo = "pyphotonfile";
|
2024-04-21 15:54:59 +00:00
|
|
|
rev = "b7ee92a0071007bb1d6a5984262651beec26543d";
|
|
|
|
sha256 = "iB5ky4fPX8ZnvXlDpggqS/345k2x/mPC4cIgb9M0f/c=";
|
2020-08-20 17:08:02 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
maintainers = [ maintainers.cab404 ];
|
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
description = "Library for reading and writing files for the Anycubic Photon 3D-Printer";
|
2024-04-21 15:54:59 +00:00
|
|
|
homepage = "https://github.com/cab404/pyphotonfile";
|
2020-08-20 17:08:02 +00:00
|
|
|
};
|
|
|
|
}
|