From 50840cc6d2b06433c2fc1d2668f0e07992cf1fd1 Mon Sep 17 00:00:00 2001 From: Felix Buehler Date: Mon, 20 Sep 2021 00:41:35 +0200 Subject: [PATCH] octoprint/costestimation: fix homepage & fmt --- pkgs/applications/misc/octoprint/plugins.nix | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/pkgs/applications/misc/octoprint/plugins.nix b/pkgs/applications/misc/octoprint/plugins.nix index 966f2adea55b..bb727b2adbb5 100644 --- a/pkgs/applications/misc/octoprint/plugins.nix +++ b/pkgs/applications/misc/octoprint/plugins.nix @@ -2,15 +2,17 @@ with pkgs; -self: super: let +self: super: +let buildPlugin = args: self.buildPythonPackage (args // { pname = "OctoPrintPlugin-${args.pname}"; inherit (args) version; - propagatedBuildInputs = (args.propagatedBuildInputs or []) ++ [ super.octoprint ]; + propagatedBuildInputs = (args.propagatedBuildInputs or [ ]) ++ [ super.octoprint ]; # none of the following have tests doCheck = false; }); -in { +in +{ inherit buildPlugin; m86motorsoff = buildPlugin rec { @@ -84,7 +86,7 @@ in { meta = with lib; { description = "Plugin to display the estimated print cost for the loaded model."; - homepage = "https://github.com/malnvenshorn/OctoPrint-CostEstimation"; + homepage = "https://github.com/OllisGit/OctoPrint-CostEstimation"; license = licenses.agpl3Only; maintainers = with maintainers; [ stunkymonkey ]; };