1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4, pillow 5, numpy 6}: 7let 8 version = "0.2.1"; 9in 10buildPythonPackage { 11 pname = "pyphotonfile"; 12 inherit version; 13 propagatedBuildInputs = [ pillow numpy ]; 14 15 src = fetchFromGitHub { 16 owner = "fookatchu"; 17 repo = "pyphotonfile"; 18 rev = "v${version}"; 19 sha256 = "1hh1fcn7q3kyk2413pjs18xnxvzrchrisbpj2cd59jrdp0qzgv2s"; 20 }; 21 22 meta = with lib; { 23 maintainers = [ maintainers.cab404 ]; 24 license = licenses.gpl3Plus; 25 description = "Library for reading and writing files for the Anycubic Photon 3D-Printer"; 26 homepage = "https://github.com/fookatchu/pyphotonfile"; 27 }; 28 29}