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;
|
|
|
|
|
|
|
|
mqtt = buildPlugin rec {
|
|
|
|
pname = "MQTT";
|
|
|
|
version = "0.8.6";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "OctoPrint";
|
|
|
|
repo = "OctoPrint-MQTT";
|
|
|
|
rev = version;
|
|
|
|
sha256 = "0y1jnfplcy8mh3szrfbbvngl02j49cbdizglrfsry4fvqg50zjxd";
|
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = with super; [ paho-mqtt ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Publish printer status MQTT";
|
2020-05-03 09:37:52 +00:00
|
|
|
homepage = "https://github.com/OctoPrint/OctoPrint-MQTT";
|
2020-03-14 10:02:07 +00:00
|
|
|
license = licenses.agpl3;
|
|
|
|
maintainers = with maintainers; [ peterhoeg ];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
titlestatus = buildPlugin rec {
|
|
|
|
pname = "TitleStatus";
|
|
|
|
version = "0.0.4";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "MoonshineSG";
|
|
|
|
repo = "OctoPrint-TitleStatus";
|
|
|
|
rev = version;
|
|
|
|
sha256 = "1l78xrabn5hcly2mgxwi17nwgnp2s6jxi9iy4wnw8k8icv74ag7k";
|
|
|
|
};
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Show printers status in window title";
|
2020-05-03 09:37:52 +00:00
|
|
|
homepage = "https://github.com/MoonshineSG/OctoPrint-TitleStatus";
|
2020-03-14 10:02:07 +00:00
|
|
|
license = licenses.agpl3;
|
|
|
|
maintainers = with maintainers; [ abbradar ];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
stlviewer = buildPlugin rec {
|
|
|
|
pname = "STLViewer";
|
|
|
|
version = "0.4.2";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "jneilliii";
|
|
|
|
repo = "OctoPrint-STLViewer";
|
|
|
|
rev = version;
|
|
|
|
sha256 = "0mkvh44fn2ch4z2avsdjwi1rp353ylmk9j5fln4x7rx8ph8y7g2b";
|
|
|
|
};
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "A simple stl viewer tab for OctoPrint";
|
2020-05-03 09:37:52 +00:00
|
|
|
homepage = "https://github.com/jneilliii/Octoprint-STLViewer";
|
2020-03-14 10:02:07 +00:00
|
|
|
license = licenses.agpl3;
|
|
|
|
maintainers = with maintainers; [ abbradar ];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
curaenginelegacy = buildPlugin rec {
|
|
|
|
pname = "CuraEngineLegacy";
|
|
|
|
version = "1.0.2";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "OctoPrint";
|
|
|
|
repo = "OctoPrint-${pname}";
|
|
|
|
rev = version;
|
|
|
|
sha256 = "1cdb276wfyf3wcfj5g3migd6b6aqmkrxncrqjfcfx4j4k3xac965";
|
|
|
|
};
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Plugin for slicing via Cura Legacy from within OctoPrint";
|
|
|
|
homepage = "https://github.com/OctoPrint/OctoPrint-CuraEngineLegacy";
|
|
|
|
license = licenses.agpl3;
|
|
|
|
maintainers = with maintainers; [ gebner ];
|
|
|
|
};
|
|
|
|
};
|
2016-02-17 12:51:20 +00:00
|
|
|
|
2020-03-14 10:02:07 +00:00
|
|
|
touchui = buildPlugin rec {
|
|
|
|
pname = "TouchUI";
|
2020-03-14 11:01:52 +00:00
|
|
|
version = "0.3.14";
|
2020-03-14 10:02:07 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "BillyBlaze";
|
|
|
|
repo = "OctoPrint-${pname}";
|
|
|
|
rev = version;
|
2020-03-14 11:01:52 +00:00
|
|
|
sha256 = "033b9nk3kpnmjw9nggcaxy39hcgfviykcy2cx0j6m411agvmqbzf";
|
2020-03-14 10:02:07 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
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-02-13 20:58:50 +00:00
|
|
|
};
|
2016-02-17 13:43:53 +00:00
|
|
|
};
|
|
|
|
|
2020-03-14 10:02:07 +00:00
|
|
|
psucontrol = buildPlugin rec {
|
|
|
|
pname = "PSUControl";
|
2020-03-14 11:00:58 +00:00
|
|
|
version = "0.1.9";
|
2020-03-14 10:02:07 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "kantlivelong";
|
|
|
|
repo = "OctoPrint-${pname}";
|
|
|
|
rev = version;
|
2020-03-14 11:00:58 +00:00
|
|
|
sha256 = "1cn009bdgn6c9ba9an5wfj8z02wi0xcsmbhkqggiqlnqy1fq45ca";
|
2020-03-14 10:02:07 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
preConfigure = ''
|
|
|
|
# optional; RPi.GPIO is broken on vanilla kernels
|
|
|
|
sed /RPi.GPIO/d -i requirements.txt
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "OctoPrint plugin to control ATX/AUX power supply";
|
|
|
|
homepage = "https://github.com/kantlivelong/OctoPrint-PSUControl";
|
|
|
|
license = licenses.agpl3;
|
|
|
|
maintainers = with maintainers; [ gebner ];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
printtimegenius = buildPlugin rec {
|
|
|
|
pname = "PrintTimeGenius";
|
|
|
|
version = "2.2.1";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "eyal0";
|
|
|
|
repo = "OctoPrint-${pname}";
|
|
|
|
rev = version;
|
|
|
|
sha256 = "1dr93vbpxgxw3b1q4rwam8f4dmiwr5vnfr9796g6jx8xkpfzzy1h";
|
|
|
|
};
|
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
abl-expert = buildPlugin rec {
|
|
|
|
pname = "ABL_Expert";
|
|
|
|
version = "2019-12-21";
|
|
|
|
|
|
|
|
src = fetchgit {
|
|
|
|
url = "https://framagit.org/razer/Octoprint_ABL_Expert/";
|
|
|
|
rev = "f11fbe05088ad618bfd9d064ac3881faec223f33";
|
|
|
|
sha256 = "026r4prkyvwzxag5pv36455q7s3gaig37nmr2nbvhwq3d2lbi5s4";
|
|
|
|
};
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Marlin auto bed leveling control, mesh correction, and z probe handling";
|
|
|
|
homepage = "https://framagit.org/razer/Octoprint_ABL_Expert/";
|
|
|
|
license = licenses.agpl3;
|
|
|
|
maintainers = with maintainers; [ WhittlesJr ];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
gcodeeditor = buildPlugin rec {
|
|
|
|
pname = "GcodeEditor";
|
|
|
|
version = "0.2.6";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "ieatacid";
|
|
|
|
repo = "OctoPrint-${pname}";
|
|
|
|
rev = version;
|
|
|
|
sha256 = "0c6p78r3vd6ys3kld308pyln09zjbr9yif1ljvcx6wlml2i5l1vh";
|
|
|
|
};
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Edit gcode on OctoPrint";
|
2020-03-14 11:05:06 +00:00
|
|
|
homepage = "https://github.com/ieatacid/OctoPrint-GcodeEditor";
|
2020-03-14 10:02:07 +00:00
|
|
|
license = licenses.agpl3;
|
|
|
|
maintainers = with maintainers; [ WhittlesJr ];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
simpleemergencystop = buildPlugin rec {
|
|
|
|
pname = "SimpleEmergencyStop";
|
|
|
|
version = "0.2.5";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "Sebclem";
|
|
|
|
repo = "OctoPrint-${pname}";
|
|
|
|
rev = version;
|
|
|
|
sha256 = "10wadv09wv2h96igvq3byw9hz1si82n3c7v5y0ii3j7hm2d06y8p";
|
|
|
|
};
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "A simple plugin that add an emergency stop buton on NavBar of OctoPrint";
|
2020-03-14 11:05:06 +00:00
|
|
|
homepage = "https://github.com/Sebclem/OctoPrint-SimpleEmergencyStop";
|
2020-03-14 10:02:07 +00:00
|
|
|
license = licenses.agpl3;
|
|
|
|
maintainers = with maintainers; [ WhittlesJr ];
|
|
|
|
};
|
|
|
|
};
|
2020-09-05 09:48:33 +00:00
|
|
|
|
|
|
|
displaylayerprogress = buildPlugin rec {
|
|
|
|
pname = "OctoPrint-DisplayLayerProgress";
|
2020-10-08 03:56:53 +00:00
|
|
|
version = "1.24.0";
|
2020-09-05 09:48:33 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "OllisGit";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2020-10-08 03:56:53 +00:00
|
|
|
sha256 = "1lbivg3rcjzv8zqvp8n8gcaczxdm7gvd5ihjb6jq0fgf958lv59n";
|
2020-09-05 09:48:33 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "OctoPrint-Plugin that sends the current progress of a print via M117 command";
|
|
|
|
homepage = "https://github.com/OllisGit/OctoPrint-DisplayLayerProgress";
|
|
|
|
license = licenses.agpl3;
|
|
|
|
maintainers = with maintainers; [ j0hax ];
|
|
|
|
};
|
|
|
|
};
|
2020-09-05 09:48:56 +00:00
|
|
|
|
2020-10-08 03:57:20 +00: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 09:48:56 +00:00
|
|
|
octoprint-dashboard = buildPlugin rec {
|
|
|
|
pname = "OctoPrint-Dashboard";
|
2020-10-08 03:57:49 +00:00
|
|
|
version = "1.15.1";
|
2020-09-05 09:48:56 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "StefanCohen";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2020-10-08 03:57:49 +00:00
|
|
|
sha256 = "1psk069g8xdpgbzmna51dh978vrildh33dn7kbbi5y31ry5c3gx6";
|
2020-09-05 09:48:56 +00: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
|
|
|
}
|