Merge pull request #87516 from gebner/cura461

This commit is contained in:
Gabriel Ebner 2020-05-11 13:06:16 +02:00 committed by GitHub
commit fc2c4afa11
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 44 additions and 14 deletions

View File

@ -2,25 +2,26 @@
mkDerivation rec { mkDerivation rec {
pname = "cura"; pname = "cura";
version = "4.5.0"; version = "4.6.1";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "Ultimaker"; owner = "Ultimaker";
repo = "Cura"; repo = "Cura";
rev = version; rev = version;
sha256 = "0fm04s912sgmr66wyb55ly4jh39ijsj6lx4fx9wn7hchlqmw5jxi"; sha256 = "0h1r9caa579d3gfpcmch54rdbkg5df64ds2v84iqsbxwjp0rmn4n";
}; };
materials = fetchFromGitHub { materials = fetchFromGitHub {
owner = "Ultimaker"; owner = "Ultimaker";
repo = "fdm_materials"; repo = "fdm_materials";
rev = version; rev = version;
sha256 = "0fgkwz1anw49macq1jxjhjr79slhmx7g3zwij7g9fqyzzhrrmwqn"; sha256 = "1k5c3qmixhpz3z2yi0fysxcyyf1yhcwmdlrcypkw827lhsialqp4";
}; };
buildInputs = [ qtbase qtquickcontrols2 qtgraphicaleffects ]; buildInputs = [ qtbase qtquickcontrols2 qtgraphicaleffects ];
propagatedBuildInputs = with python3.pkgs; [ propagatedBuildInputs = with python3.pkgs; [
libsavitar numpy-stl pyserial requests uranium zeroconf libsavitar numpy-stl pyserial requests uranium zeroconf
sentry-sdk trimesh
] ++ plugins; ] ++ plugins;
nativeBuildInputs = [ cmake python3.pkgs.wrapPython ]; nativeBuildInputs = [ cmake python3.pkgs.wrapPython ];

View File

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

View File

@ -3,7 +3,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "libarcus"; pname = "libarcus";
version = "4.5.0"; version = "4.6.1";
format = "other"; format = "other";
src = fetchFromGitHub { src = fetchFromGitHub {

View File

@ -2,14 +2,14 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "libsavitar"; pname = "libsavitar";
version = "4.5.0"; version = "4.6.1";
format = "other"; format = "other";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "Ultimaker"; owner = "Ultimaker";
repo = "libSavitar"; repo = "libSavitar";
rev = version; rev = version;
sha256 = "1l3l8cgaxzqdk93880p2ijrabshdj5sq05cwj1i6jpmhlqc5b9rx"; sha256 = "0nk8zl5b0b36wrrkj271ck4phzxsigkjsazndscjslc9nkldmnpq";
}; };
postPatch = '' postPatch = ''

View File

@ -0,0 +1,24 @@
{ lib, buildPythonPackage, fetchPypi, numpy }:
buildPythonPackage rec {
pname = "trimesh";
version = "3.6.36";
src = fetchPypi {
inherit pname version;
sha256 = "1m8dqqyzazrjk4d32cqn4d8gvbfcwgs2qbmgvpi2f2mi5vnp6d85";
};
propagatedBuildInputs = [ numpy ];
# tests are not included in pypi distributions and would require lots of
# optional dependencies
doCheck = false;
meta = with lib; {
description = "Python library for loading and using triangular meshes.";
homepage = "https://trimsh.org/";
license = licenses.mit;
maintainers = with maintainers; [ gebner ];
};
}

View File

@ -2,7 +2,7 @@
, pyqt5, numpy, scipy, shapely, libarcus, doxygen, gettext, pythonOlder }: , pyqt5, numpy, scipy, shapely, libarcus, doxygen, gettext, pythonOlder }:
buildPythonPackage rec { buildPythonPackage rec {
version = "4.5.0"; version = "4.6.1";
pname = "uranium"; pname = "uranium";
format = "other"; format = "other";
@ -10,7 +10,7 @@ buildPythonPackage rec {
owner = "Ultimaker"; owner = "Ultimaker";
repo = "Uranium"; repo = "Uranium";
rev = version; rev = version;
sha256 = "1l8fwj521irla42bdbw298d3c5rjpn1nm9xhjnx7hidbqixr5d27"; sha256 = "07pksjbgxs1ks2i6pgxkwfg9c56pcql7f9p89dnwaf2rcn7yhx6r";
}; };
disabled = pythonOlder "3.5.0"; disabled = pythonOlder "3.5.0";

View File

@ -1479,6 +1479,8 @@ in {
transforms3d = callPackage ../development/python-modules/transforms3d { }; transforms3d = callPackage ../development/python-modules/transforms3d { };
trimesh = callPackage ../development/python-modules/trimesh {};
sentinel = callPackage ../development/python-modules/sentinel { }; sentinel = callPackage ../development/python-modules/sentinel { };
sentry-sdk = callPackage ../development/python-modules/sentry-sdk {}; sentry-sdk = callPackage ../development/python-modules/sentry-sdk {};