summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/pyphotonfile/default.nix
blob: 174616fa66ab4d1b8fe85c17d99e0140d736fe9a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  pillow,
  numpy,
}:
let
  version = "0.2.1";
in
buildPythonPackage {
  pname = "pyphotonfile";
  format = "setuptools";
  inherit version;

  propagatedBuildInputs = [
    pillow
    numpy
  ];

  src = fetchFromGitHub {
    owner = "cab404";
    repo = "pyphotonfile";
    rev = "b7ee92a0071007bb1d6a5984262651beec26543d";
    sha256 = "sha256-iB5ky4fPX8ZnvXlDpggqS/345k2x/mPC4cIgb9M0f/c=";
  };

  meta = {
    maintainers = [ lib.maintainers.cab404 ];
    license = lib.licenses.gpl3Plus;
    description = "Library for reading and writing files for the Anycubic Photon 3D-Printer";
    homepage = "https://github.com/cab404/pyphotonfile";
  };
}