about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/pyphotonfile/default.nix
blob: 9d7a30213869a21fd064c2929a2a3645a13c04ae (plain) (blame)
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
{ lib
, buildPythonPackage
, fetchFromGitHub
, pillow
, numpy
}:
let
  version = "0.2.1";
  format = "setuptools";
in
buildPythonPackage {
  pname = "pyphotonfile";
  inherit version;
  propagatedBuildInputs = [ pillow numpy ];

  src = fetchFromGitHub {
    owner = "fookatchu";
    repo = "pyphotonfile";
    rev = "v${version}";
    sha256 = "1hh1fcn7q3kyk2413pjs18xnxvzrchrisbpj2cd59jrdp0qzgv2s";
  };

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

}