curaPlugins.octoprint: 3.5.11 -> 3.5.12

This commit is contained in:
Gabriel Ebner 2020-05-10 19:04:27 +02:00
parent bc56fe5759
commit af238824f4

View File

@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, fetchpatch, cmake, python3Packages }:
{ stdenv, fetchFromGitHub, fetchpatch, python3Packages }:
let
@ -6,21 +6,24 @@ let
octoprint = stdenv.mkDerivation rec {
pname = "Cura-OctoPrintPlugin";
version = "3.5.11";
version = "3.5.12";
src = fetchFromGitHub {
owner = "fieldOfView";
repo = pname;
rev = "3cef0a955ae7ccfa5c07d20d9d147c530cc9d6ec";
sha256 = "0q9bkwgpsbfwkp1bfaxq3wm9pbwx5d7ji0jr7cwc4y5nizji81is";
rev = "ad522c0b7ead5fbe28da686a3cc75e351274c2bc";
sha256 = "0ln11ng32bh0smfsk54mv2j3sadh0gwf031nmm95zrvbj9cr6yc0";
};
nativeBuildInputs = [ cmake ];
propagatedBuildInputs = with python3Packages; [
netifaces
];
installPhase = ''
mkdir -p $out/lib/cura/plugins/OctoPrintPlugin
cp -rv . $out/lib/cura/plugins/OctoPrintPlugin/
'';
meta = with stdenv.lib; {
description = "Enables printing directly to OctoPrint and monitoring the process";
homepage = "https://github.com/fieldOfView/Cura-OctoPrintPlugin";