2020-03-14 10:02:07 +00:00
|
|
|
{ pkgs }:
|
2016-02-17 12:51:20 +00:00
|
|
|
|
2020-03-14 11:00:58 +00:00
|
|
|
with pkgs;
|
2020-03-14 10:02:07 +00:00
|
|
|
|
|
|
|
self: super: let
|
|
|
|
buildPlugin = args: self.buildPythonPackage (args // {
|
2018-12-09 12:47:12 +00:00
|
|
|
pname = "OctoPrintPlugin-${args.pname}";
|
|
|
|
inherit (args) version;
|
2020-03-14 10:02:07 +00:00
|
|
|
propagatedBuildInputs = (args.propagatedBuildInputs or []) ++ [ super.octoprint ];
|
2018-12-06 05:05:27 +00:00
|
|
|
# none of the following have tests
|
|
|
|
doCheck = false;
|
2016-02-17 12:51:20 +00:00
|
|
|
});
|
2020-03-14 10:02:07 +00:00
|
|
|
in {
|
|
|
|
inherit buildPlugin;
|
|
|
|
|
2020-10-21 07:56:39 +01:00
|
|
|
abl-expert = buildPlugin rec {
|
|
|
|
pname = "ABL_Expert";
|
|
|
|
version = "0.6";
|
2020-03-14 10:02:07 +00:00
|
|
|
|
2020-10-21 07:56:39 +01:00
|
|
|
src = fetchgit {
|
|
|
|
url = "https://framagit.org/razer/Octoprint_ABL_Expert/";
|
2020-03-14 10:02:07 +00:00
|
|
|
rev = version;
|
2020-10-21 07:56:39 +01:00
|
|
|
sha256 = "0ij3rvdwya1sbymwm5swlh2j4jagb6fal945g88zrzh5xf26hzjh";
|
2020-03-14 10:02:07 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2020-10-21 07:56:39 +01:00
|
|
|
description = "Marlin auto bed leveling control, mesh correction, and z probe handling";
|
|
|
|
homepage = "https://framagit.org/razer/Octoprint_ABL_Expert/";
|
2020-03-14 10:02:07 +00:00
|
|
|
license = licenses.agpl3;
|
2020-10-21 07:56:39 +01:00
|
|
|
maintainers = with maintainers; [ WhittlesJr ];
|
2020-03-14 10:02:07 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2020-10-21 08:06:03 +01:00
|
|
|
bedlevelvisualizer = buildPlugin rec {
|
|
|
|
pname = "BedLevelVisualizer";
|
|
|
|
version = "0.1.15";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "jneilliii";
|
|
|
|
repo = "OctoPrint-${pname}";
|
|
|
|
rev = version;
|
|
|
|
sha256 = "1bq39fnarnpk8phxfbpx6l4n9anf358z1cgid5r89nadmn2a0cny";
|
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = with super; [ numpy ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Displays 3D mesh of bed topography report";
|
|
|
|
homepage = "https://github.com/jneilliii/OctoPrint-BedLevelVisualizer";
|
|
|
|
license = licenses.agpl3;
|
|
|
|
maintainers = with maintainers; [ lovesegfault ];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2020-10-21 07:56:39 +01:00
|
|
|
curaenginelegacy = buildPlugin rec {
|
|
|
|
pname = "CuraEngineLegacy";
|
|
|
|
version = "1.1.1";
|
2020-03-14 10:02:07 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2020-10-21 07:56:39 +01:00
|
|
|
owner = "OctoPrint";
|
|
|
|
repo = "OctoPrint-${pname}";
|
2020-03-14 10:02:07 +00:00
|
|
|
rev = version;
|
2020-10-21 07:56:39 +01:00
|
|
|
sha256 = "1a7pxlmj1a7blkv97sn1k390pbjcxx2860011pbjcdnli74zpvv5";
|
2020-03-14 10:02:07 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2020-10-21 07:56:39 +01:00
|
|
|
description = "Plugin for slicing via Cura Legacy from within OctoPrint";
|
|
|
|
homepage = "https://github.com/OctoPrint/OctoPrint-CuraEngineLegacy";
|
2020-03-14 10:02:07 +00:00
|
|
|
license = licenses.agpl3;
|
2020-10-21 07:56:39 +01:00
|
|
|
maintainers = with maintainers; [ gebner ];
|
2020-03-14 10:02:07 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2020-10-21 07:56:39 +01:00
|
|
|
displaylayerprogress = buildPlugin rec {
|
|
|
|
pname = "OctoPrint-DisplayLayerProgress";
|
|
|
|
version = "1.24.0";
|
2020-03-14 10:02:07 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2020-10-21 07:56:39 +01:00
|
|
|
owner = "OllisGit";
|
|
|
|
repo = pname;
|
2020-03-14 10:02:07 +00:00
|
|
|
rev = version;
|
2020-10-21 07:56:39 +01:00
|
|
|
sha256 = "1lbivg3rcjzv8zqvp8n8gcaczxdm7gvd5ihjb6jq0fgf958lv59n";
|
2020-03-14 10:02:07 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2020-10-21 07:56:39 +01:00
|
|
|
description = "OctoPrint-Plugin that sends the current progress of a print via M117 command";
|
|
|
|
homepage = "https://github.com/OllisGit/OctoPrint-DisplayLayerProgress";
|
2020-03-14 10:02:07 +00:00
|
|
|
license = licenses.agpl3;
|
2020-10-21 07:56:39 +01:00
|
|
|
maintainers = with maintainers; [ j0hax ];
|
2020-03-14 10:02:07 +00:00
|
|
|
};
|
|
|
|
};
|
2016-02-17 12:51:20 +00:00
|
|
|
|
2020-10-21 07:56:39 +01:00
|
|
|
gcodeeditor = buildPlugin rec {
|
|
|
|
pname = "GcodeEditor";
|
|
|
|
version = "0.2.9";
|
2020-03-14 10:02:07 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2020-10-21 07:56:39 +01:00
|
|
|
owner = "ieatacid";
|
2020-03-14 10:02:07 +00:00
|
|
|
repo = "OctoPrint-${pname}";
|
|
|
|
rev = version;
|
2020-10-21 07:56:39 +01:00
|
|
|
sha256 = "1yjj9lmxbzmzrn7gahw9lj7554fphalbjjp8ns0rr9py3rshwxkm";
|
2020-03-14 10:02:07 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2020-10-21 07:56:39 +01:00
|
|
|
description = "Edit gcode on OctoPrint";
|
|
|
|
homepage = "https://github.com/ieatacid/OctoPrint-GcodeEditor";
|
2020-03-14 10:02:07 +00:00
|
|
|
license = licenses.agpl3;
|
2020-10-21 07:56:39 +01:00
|
|
|
maintainers = with maintainers; [ WhittlesJr ];
|
2020-02-13 20:58:50 +00:00
|
|
|
};
|
2016-02-17 13:43:53 +00:00
|
|
|
};
|
|
|
|
|
2020-11-06 08:52:46 +00:00
|
|
|
marlingcodedocumentation = buildPlugin rec {
|
|
|
|
pname = "MarlinGcodeDocumentation";
|
|
|
|
version = "0.11.0";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "costas-basdekis";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "0vx06w9hqwy0k4r8g67y8gdckfdx7wl8ghfx6hmxc1s8fgkghfkc";
|
|
|
|
};
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Displays GCode documentation for Marlin in the Octoprint terminal command line";
|
|
|
|
homepage = "https://github.com/costas-basdekis/MarlinGcodeDocumentation";
|
|
|
|
license = licenses.agpl3;
|
|
|
|
maintainers = with maintainers; [ lovesegfault ];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2020-10-21 07:56:39 +01:00
|
|
|
mqtt = buildPlugin rec {
|
|
|
|
pname = "MQTT";
|
|
|
|
version = "0.8.7";
|
2020-03-14 10:02:07 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2020-10-21 07:56:39 +01:00
|
|
|
owner = "OctoPrint";
|
|
|
|
repo = "OctoPrint-MQTT";
|
2020-03-14 10:02:07 +00:00
|
|
|
rev = version;
|
2020-10-21 07:56:39 +01:00
|
|
|
sha256 = "0k82h7wafbcqdvk5wjw4dp9lydwszfj1lf8vvymwbqdn7pf5h0dy";
|
2020-03-14 10:02:07 +00:00
|
|
|
};
|
|
|
|
|
2020-10-21 07:56:39 +01:00
|
|
|
propagatedBuildInputs = with super; [ paho-mqtt ];
|
2020-03-14 10:02:07 +00:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2020-10-21 07:56:39 +01:00
|
|
|
description = "Publish printer status MQTT";
|
|
|
|
homepage = "https://github.com/OctoPrint/OctoPrint-MQTT";
|
2020-03-14 10:02:07 +00:00
|
|
|
license = licenses.agpl3;
|
2020-10-21 07:56:39 +01:00
|
|
|
maintainers = with maintainers; [ peterhoeg ];
|
2020-03-14 10:02:07 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
printtimegenius = buildPlugin rec {
|
|
|
|
pname = "PrintTimeGenius";
|
2020-10-21 07:47:16 +01:00
|
|
|
version = "2.2.6";
|
2020-03-14 10:02:07 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "eyal0";
|
|
|
|
repo = "OctoPrint-${pname}";
|
|
|
|
rev = version;
|
2020-10-21 07:47:16 +01:00
|
|
|
sha256 = "04zfgd3x3lbriyzwhpqnwdcfdm19fsqgsb7l2ix5d0ssmqxwg2r6";
|
2020-03-14 10:02:07 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
preConfigure = ''
|
|
|
|
# PrintTimeGenius ships with marlin-calc binaries for multiple architectures
|
|
|
|
rm */analyzers/marlin-calc*
|
|
|
|
sed 's@"{}.{}".format(binary_base_name, machine)@"${pkgs.marlin-calc}/bin/marlin-calc"@' -i */analyzers/analyze_progress.py
|
|
|
|
'';
|
|
|
|
|
|
|
|
patches = [
|
|
|
|
./printtimegenius-logging.patch
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Better print time estimation for OctoPrint";
|
|
|
|
homepage = "https://github.com/eyal0/OctoPrint-PrintTimeGenius";
|
|
|
|
license = licenses.agpl3;
|
|
|
|
maintainers = with maintainers; [ gebner ];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2020-10-21 07:56:39 +01:00
|
|
|
psucontrol = buildPlugin rec {
|
|
|
|
pname = "PSUControl";
|
|
|
|
version = "0.1.9";
|
2020-03-14 10:02:07 +00:00
|
|
|
|
2020-10-21 07:56:39 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "kantlivelong";
|
|
|
|
repo = "OctoPrint-${pname}";
|
2020-10-21 07:49:29 +01:00
|
|
|
rev = version;
|
2020-10-21 07:56:39 +01:00
|
|
|
sha256 = "1cn009bdgn6c9ba9an5wfj8z02wi0xcsmbhkqggiqlnqy1fq45ca";
|
2020-03-14 10:02:07 +00:00
|
|
|
};
|
|
|
|
|
2020-10-21 07:56:39 +01:00
|
|
|
preConfigure = ''
|
|
|
|
# optional; RPi.GPIO is broken on vanilla kernels
|
|
|
|
sed /RPi.GPIO/d -i requirements.txt
|
|
|
|
'';
|
|
|
|
|
2020-03-14 10:02:07 +00:00
|
|
|
meta = with stdenv.lib; {
|
2020-10-21 07:56:39 +01:00
|
|
|
description = "OctoPrint plugin to control ATX/AUX power supply";
|
|
|
|
homepage = "https://github.com/kantlivelong/OctoPrint-PSUControl";
|
2020-03-14 10:02:07 +00:00
|
|
|
license = licenses.agpl3;
|
2020-10-21 07:56:39 +01:00
|
|
|
maintainers = with maintainers; [ gebner ];
|
2020-03-14 10:02:07 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2020-10-21 07:56:39 +01:00
|
|
|
simpleemergencystop = buildPlugin rec {
|
|
|
|
pname = "SimpleEmergencyStop";
|
|
|
|
version = "1.0.3";
|
2020-03-14 10:02:07 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2020-10-21 07:56:39 +01:00
|
|
|
owner = "Sebclem";
|
2020-03-14 10:02:07 +00:00
|
|
|
repo = "OctoPrint-${pname}";
|
|
|
|
rev = version;
|
2020-10-21 07:56:39 +01:00
|
|
|
sha256 = "0hhh5grmn32abkix1b9fr1d0pcpdi2r066iypcxdxcza9qzwjiyi";
|
2020-03-14 10:02:07 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2020-10-21 07:56:39 +01:00
|
|
|
description = "A simple plugin that add an emergency stop buton on NavBar of OctoPrint";
|
|
|
|
homepage = "https://github.com/Sebclem/OctoPrint-SimpleEmergencyStop";
|
2020-03-14 10:02:07 +00:00
|
|
|
license = licenses.agpl3;
|
|
|
|
maintainers = with maintainers; [ WhittlesJr ];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2020-10-21 07:56:39 +01:00
|
|
|
stlviewer = buildPlugin rec {
|
|
|
|
pname = "STLViewer";
|
|
|
|
version = "0.4.2";
|
2020-03-14 10:02:07 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2020-10-21 07:56:39 +01:00
|
|
|
owner = "jneilliii";
|
|
|
|
repo = "OctoPrint-STLViewer";
|
2020-03-14 10:02:07 +00:00
|
|
|
rev = version;
|
2020-10-21 07:56:39 +01:00
|
|
|
sha256 = "0mkvh44fn2ch4z2avsdjwi1rp353ylmk9j5fln4x7rx8ph8y7g2b";
|
2020-03-14 10:02:07 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2020-10-21 07:56:39 +01:00
|
|
|
description = "A simple stl viewer tab for OctoPrint";
|
|
|
|
homepage = "https://github.com/jneilliii/Octoprint-STLViewer";
|
2020-03-14 10:02:07 +00:00
|
|
|
license = licenses.agpl3;
|
2020-10-21 07:56:39 +01:00
|
|
|
maintainers = with maintainers; [ abbradar ];
|
2020-03-14 10:02:07 +00:00
|
|
|
};
|
|
|
|
};
|
2020-09-05 10:48:33 +01:00
|
|
|
|
2020-10-21 08:00:46 +01:00
|
|
|
themeify = buildPlugin rec {
|
|
|
|
pname = "Themeify";
|
|
|
|
version = "1.2.2";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "Birkbjo";
|
|
|
|
repo = "Octoprint-${pname}";
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "0j1qs6kyh947npdy7pqda25fjkqinpas3sy0qyscqlxi558lhvx2";
|
|
|
|
};
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Beautiful themes for OctoPrint";
|
|
|
|
homepage = "https://github.com/birkbjo/OctoPrint-Themeify";
|
|
|
|
license = licenses.agpl3;
|
|
|
|
maintainers = with maintainers; [ lovesegfault ];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2020-10-21 07:56:39 +01:00
|
|
|
titlestatus = buildPlugin rec {
|
|
|
|
pname = "TitleStatus";
|
|
|
|
version = "0.0.5";
|
2020-09-05 10:48:33 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2020-10-21 07:56:39 +01:00
|
|
|
owner = "MoonshineSG";
|
|
|
|
repo = "OctoPrint-TitleStatus";
|
2020-09-05 10:48:33 +01:00
|
|
|
rev = version;
|
2020-10-21 07:56:39 +01:00
|
|
|
sha256 = "10nxjrixg0i6n6x8ghc1ndshm25c97bvkcis5j9kmlkkzs36i2c6";
|
2020-09-05 10:48:33 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2020-10-21 07:56:39 +01:00
|
|
|
description = "Show printers status in window title";
|
|
|
|
homepage = "https://github.com/MoonshineSG/OctoPrint-TitleStatus";
|
2020-09-05 10:48:33 +01:00
|
|
|
license = licenses.agpl3;
|
2020-10-21 07:56:39 +01:00
|
|
|
maintainers = with maintainers; [ abbradar ];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
touchui = buildPlugin rec {
|
|
|
|
pname = "TouchUI";
|
|
|
|
version = "0.3.16";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "BillyBlaze";
|
|
|
|
repo = "OctoPrint-${pname}";
|
|
|
|
rev = version;
|
|
|
|
sha256 = "1jlqjirc4ygl4k7jp93l2h6b18jap3mzz8sf2g61j9w0kgv9l365";
|
|
|
|
};
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Touch friendly interface for a small TFT module or phone for OctoPrint";
|
|
|
|
homepage = "https://github.com/BillyBlaze/OctoPrint-TouchUI";
|
|
|
|
license = licenses.agpl3;
|
|
|
|
maintainers = with maintainers; [ gebner ];
|
2020-09-05 10:48:33 +01:00
|
|
|
};
|
|
|
|
};
|
2020-09-05 10:48:56 +01:00
|
|
|
|
2020-10-08 04:57:20 +01:00
|
|
|
octoklipper = buildPlugin rec {
|
|
|
|
pname = "OctoKlipper";
|
|
|
|
version = "0.3.2";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "AliceGrey";
|
|
|
|
repo = "OctoprintKlipperPlugin";
|
|
|
|
rev = version;
|
|
|
|
sha256 = "15yg2blbgqp2gdpsqqm8qiiznq5qaq8wss07jimkl0865vrvlz7l";
|
|
|
|
};
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "A plugin for a better integration of Klipper into OctoPrint";
|
|
|
|
homepage = "https://github.com/AliceGrey/OctoprintKlipperPlugin";
|
|
|
|
license = licenses.agpl3;
|
|
|
|
maintainers = with maintainers; [ lovesegfault ];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2020-09-05 10:48:56 +01:00
|
|
|
octoprint-dashboard = buildPlugin rec {
|
|
|
|
pname = "OctoPrint-Dashboard";
|
2020-10-21 07:53:28 +01:00
|
|
|
version = "1.15.2";
|
2020-09-05 10:48:56 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "StefanCohen";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2020-10-21 07:53:28 +01:00
|
|
|
sha256 = "0p94jwd7kagh3sixhcrqmsgbay4aaf9l1pgyi2b45jym8pvld5n4";
|
2020-09-05 10:48:56 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "A dashboard for Octoprint";
|
|
|
|
homepage = "https://github.com/StefanCohen/OctoPrint-Dashboard";
|
|
|
|
license = licenses.agpl3;
|
|
|
|
maintainers = with maintainers; [ j0hax ];
|
|
|
|
};
|
|
|
|
};
|
2020-03-14 10:02:07 +00:00
|
|
|
}
|