3
0
Fork 0
forked from mirrors/nixpkgs

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
, fetchFromGitHub
, python3
, nix-update-script
# To include additional plugins, pass them here as an overlay.
, packageOverrides ? self: super: {}
}:
@ -89,13 +90,13 @@ let
self: super: {
octoprint = self.buildPythonPackage rec {
pname = "OctoPrint";
version = "1.5.1";
version = "1.5.3";
src = fetchFromGitHub {
owner = "OctoPrint";
repo = "OctoPrint";
rev = version;
sha256 = "04x58cjivslsrld341ip11c50d50p2q01090nsyji0j255v986j9";
sha256 = "sha256-ZL/P/YIHynPmP8ssZZUKZDJscBsSsCq3UtOHrTVLpec=";
};
propagatedBuildInputs = with 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/";