python3Packages.pyphotonfile: init at 0.2.1

This commit is contained in:
Vladimir Serov 2020-07-24 21:56:25 +03:00
parent ea63a04660
commit 8a2175ba29
No known key found for this signature in database
GPG key ID: 6BA7C26C3FDF7BB3
2 changed files with 31 additions and 0 deletions

View file

@ -0,0 +1,29 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, pillow
, numpy
}:
let
version = "0.2.1";
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";
};
}

View file

@ -1106,6 +1106,8 @@ in {
pyperf = callPackage ../development/python-modules/pyperf { };
pyphotonfile = callPackage ../development/python-modules/pyphotonfile { };
pefile = callPackage ../development/python-modules/pefile { };
perfplot = callPackage ../development/python-modules/perfplot { };