Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / pyphotonfile / default.nix
blobc18d8c60d478bd8507aaacd48a8072ab458a1fd1
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , pillow
5 , numpy
6 }:
7 let
8   version = "0.2.1+";
9 in
10 buildPythonPackage {
11   pname = "pyphotonfile";
12   format = "setuptools";
13   inherit version;
15   dontUseSetuptoolsCheck = true;
16   propagatedBuildInputs = [ pillow numpy ];
18   src = fetchFromGitHub {
19     owner = "cab404";
20     repo = "pyphotonfile";
21     rev = "b7ee92a0071007bb1d6a5984262651beec26543d";
22     sha256 = "iB5ky4fPX8ZnvXlDpggqS/345k2x/mPC4cIgb9M0f/c=";
23   };
25   meta = with lib; {
26     maintainers = [ maintainers.cab404 ];
27     license = licenses.gpl3Plus;
28     description = "Library for reading and writing files for the Anycubic Photon 3D-Printer";
29     homepage = "https://github.com/cab404/pyphotonfile";
30   };