octoprint: use nix-updater-script
This commit is contained in:
parent
5b896d3797
commit
fa08c42f94
pkgs/applications/misc/octoprint
|
@ -3,6 +3,7 @@
|
||||||
, lib
|
, lib
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, python3
|
, python3
|
||||||
|
, nix-update-script
|
||||||
# To include additional plugins, pass them here as an overlay.
|
# To include additional plugins, pass them here as an overlay.
|
||||||
, packageOverrides ? self: super: {}
|
, packageOverrides ? self: super: {}
|
||||||
}:
|
}:
|
||||||
|
@ -170,7 +171,10 @@ let
|
||||||
"test_set_external_modification"
|
"test_set_external_modification"
|
||||||
];
|
];
|
||||||
|
|
||||||
passthru.python = self.python;
|
passthru = {
|
||||||
|
python = self.python;
|
||||||
|
updateScript = nix-update-script { attrPath = "octoprint"; };
|
||||||
|
};
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "https://octoprint.org/";
|
homepage = "https://octoprint.org/";
|
||||||
|
|
Loading…
Reference in New Issue