octoprint: use nix-updater-script

This commit is contained in:
Bernardo Meurer 2021-01-31 18:43:52 -08:00
parent 5b896d3797
commit fa08c42f94
No known key found for this signature in database
GPG Key ID: F4C0D53B8D14C246

View File

@ -3,6 +3,7 @@
, lib
, fetchFromGitHub
, python3
, nix-update-script
# To include additional plugins, pass them here as an overlay.
, packageOverrides ? self: super: {}
}:
@ -170,7 +171,10 @@ let
"test_set_external_modification"
];
passthru.python = self.python;
passthru = {
python = self.python;
updateScript = nix-update-script { attrPath = "octoprint"; };
};
meta = with lib; {
homepage = "https://octoprint.org/";