Merge pull request #111517 from lovesegfault/octoprint-1.5.3

This commit is contained in:
Sandro 2021-02-01 11:09:06 +01:00 committed by GitHub
commit 35a6e32b40
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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: {}
}: }:
@ -89,13 +90,13 @@ let
self: super: { self: super: {
octoprint = self.buildPythonPackage rec { octoprint = self.buildPythonPackage rec {
pname = "OctoPrint"; pname = "OctoPrint";
version = "1.5.1"; version = "1.5.3";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "OctoPrint"; owner = "OctoPrint";
repo = "OctoPrint"; repo = "OctoPrint";
rev = version; rev = version;
sha256 = "04x58cjivslsrld341ip11c50d50p2q01090nsyji0j255v986j9"; sha256 = "sha256-ZL/P/YIHynPmP8ssZZUKZDJscBsSsCq3UtOHrTVLpec=";
}; };
propagatedBuildInputs = with super; [ propagatedBuildInputs = with 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/";