Loading pkgs/applications/misc/octoprint/default.nix +25 −0 Original line number Diff line number Diff line Loading @@ -3,6 +3,7 @@ , callPackage , lib , fetchFromGitHub , fetchPypi , python3 , substituteAll , nix-update-script Loading @@ -16,6 +17,30 @@ let self = py; packageOverrides = lib.foldr lib.composeExtensions (self: super: { }) ( [ ( # Due to flask > 2.3 the login will not work self: super: { werkzeug = super.werkzeug.overridePythonAttrs (oldAttrs: rec { version = "2.2.3"; format = "setuptools"; src = fetchPypi { pname = "Werkzeug"; inherit version; hash = "sha256-LhzMlBfU2jWLnebxdOOsCUOR6h1PvvLWZ4ZdgZ39Cv4="; }; }); flask = super.flask.overridePythonAttrs (oldAttrs: rec { version = "2.2.5"; format = "setuptools"; src = fetchPypi { pname = "Flask"; inherit version; hash = "sha256-7e6bCn/yZiG9WowQ/0hK4oc3okENmbC7mmhQx/uXeqA="; }; }); } ) # Built-in dependency ( self: super: { Loading Loading
pkgs/applications/misc/octoprint/default.nix +25 −0 Original line number Diff line number Diff line Loading @@ -3,6 +3,7 @@ , callPackage , lib , fetchFromGitHub , fetchPypi , python3 , substituteAll , nix-update-script Loading @@ -16,6 +17,30 @@ let self = py; packageOverrides = lib.foldr lib.composeExtensions (self: super: { }) ( [ ( # Due to flask > 2.3 the login will not work self: super: { werkzeug = super.werkzeug.overridePythonAttrs (oldAttrs: rec { version = "2.2.3"; format = "setuptools"; src = fetchPypi { pname = "Werkzeug"; inherit version; hash = "sha256-LhzMlBfU2jWLnebxdOOsCUOR6h1PvvLWZ4ZdgZ39Cv4="; }; }); flask = super.flask.overridePythonAttrs (oldAttrs: rec { version = "2.2.5"; format = "setuptools"; src = fetchPypi { pname = "Flask"; inherit version; hash = "sha256-7e6bCn/yZiG9WowQ/0hK4oc3okENmbC7mmhQx/uXeqA="; }; }); } ) # Built-in dependency ( self: super: { Loading