feat(octoprint): get octoprint plugin from my-features branch

This commit is contained in:
2026-05-27 22:36:39 +02:00
parent 6ee882ef10
commit eeae6d4647
+3 -23
View File
@@ -1,32 +1,12 @@
{ ... }: { pkgs-my-features, ... }:
{ {
nixpkgs.overlays = [
(self: super: {
octoprint = super.octoprint.override {
packageOverrides = pyself: pysuper: {
octoprint-fanspeedslider = pyself.buildPythonPackage rec {
pname = "fanspeedslider";
version = "0.2.3";
src = self.fetchFromGitHub {
owner = "mival";
repo = "OctoPrint-FanSpeedSlider";
rev = "${version}";
sha256 = "sha256-0Gp9EgaKyCnRQv4A1sNHquTRqjag2Oz/fDGVVo95FfY=";
};
propagatedBuildInputs = [ pysuper.octoprint ];
pyproject = true;
doCheck = false;
};
};
};
})
];
services.octoprint = { services.octoprint = {
enable = true; enable = true;
port = 8002; port = 8002;
package = pkgs-my-features.octoprint;
plugins = plugins =
plugins: with plugins; [ plugins: with plugins; [
octoprint-fanspeedslider fanspeedslider
]; ];
}; };
} }