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 propagatedBuildInputs = [ 17 pillow 18 numpy 19 ]; 20 21 src = fetchFromGitHub { 22 owner = "cab404"; 23 repo = "pyphotonfile"; 24 rev = "b7ee92a0071007bb1d6a5984262651beec26543d"; 25 sha256 = "sha256-iB5ky4fPX8ZnvXlDpggqS/345k2x/mPC4cIgb9M0f/c="; 26 }; 27 28 meta = with lib; { 29 maintainers = [ maintainers.cab404 ]; 30 license = licenses.gpl3Plus; 31 description = "Library for reading and writing files for the Anycubic Photon 3D-Printer"; 32 homepage = "https://github.com/cab404/pyphotonfile"; 33 }; 34}