Merge pull request #138590 from Stunkymonkey/octoprint-plugin-homepage

octoprint/costestimation: fix homepage & fmt
This commit is contained in:
figsoda 2021-09-20 12:01:36 -04:00 committed by GitHub
commit fa365932af
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 ];
};