Merge pull request #136513 from j0hax/octolapse
This commit is contained in:
commit
9693f55366
|
@ -420,6 +420,30 @@ in
|
|||
};
|
||||
};
|
||||
|
||||
octolapse = buildPlugin rec {
|
||||
pname = "Octolapse";
|
||||
version = "0.4.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "FormerLurker";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "13q20g7brabplc198jh67lk65rn140r8217iak9b2jy3in8fggv4";
|
||||
};
|
||||
|
||||
# Test fails due to code executed on import, see #136513
|
||||
#pythonImportsCheck = [ "octoprint_octolapse" ];
|
||||
|
||||
propagatedBuildInputs = with super; [ awesome-slugify setuptools pillow sarge six psutil file-read-backwards ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Stabilized timelapses for Octoprint";
|
||||
homepage = "https://github.com/FormerLurker/OctoLapse";
|
||||
license = licenses.agpl3Plus;
|
||||
maintainers = with maintainers; [ illustris j0hax ];
|
||||
};
|
||||
};
|
||||
|
||||
octoprint-dashboard = buildPlugin rec {
|
||||
pname = "OctoPrint-Dashboard";
|
||||
version = "1.18.3";
|
||||
|
|
|
@ -0,0 +1,22 @@
|
|||
{ lib, buildPythonPackage, fetchPypi, mock }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "file-read-backwards";
|
||||
version = "2.0.0";
|
||||
|
||||
src = fetchPypi {
|
||||
pname = "file_read_backwards";
|
||||
inherit version;
|
||||
sha256 = "fd50d9089b412147ea3c6027e2ad905f977002db2918cf315d64eed23d6d6eb8";
|
||||
};
|
||||
|
||||
checkInputs = [ mock ];
|
||||
pythonImportsCheck = [ "file_read_backwards" ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/RobinNil/file_read_backwards";
|
||||
description = "Memory efficient way of reading files line-by-line from the end of file";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ j0hax ];
|
||||
};
|
||||
}
|
|
@ -2796,6 +2796,8 @@ in {
|
|||
|
||||
fields = callPackage ../development/python-modules/fields { };
|
||||
|
||||
file-read-backwards = callPackage ../development/python-modules/file-read-backwards { };
|
||||
|
||||
filebrowser_safe = callPackage ../development/python-modules/filebrowser_safe { };
|
||||
|
||||
filebytes = callPackage ../development/python-modules/filebytes { };
|
||||
|
|
Loading…
Reference in a new issue