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-08-08 08:01:29 +01:00
|
|
|
version = "3.5.8";
|
2019-04-08 10:31:47 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "fieldOfView";
|
|
|
|
repo = pname;
|
2019-11-01 17:48:17 +00:00
|
|
|
rev = "a82a42a87bbeb390b80b991afb1a6741c46a3432";
|
|
|
|
sha256 = "0q5yd7pw626qls2ks2y39hb9czd6lgh71jalzl2drwdi6a8mwsfz";
|
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
|