2019-11-01 16:59:14 +00:00
|
|
|
{ stdenv, fetchFromGitHub, fetchpatch, cmake, python3Packages }:
|
2019-04-08 10:31:47 +01:00
|
|
|
|
|
|
|
let
|
|
|
|
|
|
|
|
self = {
|
|
|
|
|
|
|
|
octoprint = stdenv.mkDerivation rec {
|
|
|
|
pname = "Cura-OctoPrintPlugin";
|
2019-12-07 09:55:56 +00:00
|
|
|
version = "3.5.11";
|
2019-04-08 10:31:47 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "fieldOfView";
|
|
|
|
repo = pname;
|
2019-12-07 09:55:56 +00:00
|
|
|
rev = "3cef0a955ae7ccfa5c07d20d9d147c530cc9d6ec";
|
|
|
|
sha256 = "0q9bkwgpsbfwkp1bfaxq3wm9pbwx5d7ji0jr7cwc4y5nizji81is";
|
2019-04-08 10:31:47 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
|
|
|
|
propagatedBuildInputs = with python3Packages; [
|
|
|
|
netifaces
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Enables printing directly to OctoPrint and monitoring the process";
|
|
|
|
homepage = "https://github.com/fieldOfView/Cura-OctoPrintPlugin";
|
|
|
|
license = licenses.agpl3;
|
|
|
|
maintainers = with maintainers; [ gebner ];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
in self
|