Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 9b3204d41b21
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 056627a3bf6c
Choose a head ref
  • 6 commits
  • 6 files changed
  • 1 contributor

Commits on Dec 27, 2018

  1. Copy the full SHA
    cbdaa29 View commit details
  2. Copy the full SHA
    ab95c92 View commit details
  3. Copy the full SHA
    b742250 View commit details
  4. curaengine: 3.4.1 -> 3.6.0

    orivej committed Dec 27, 2018
    Copy the full SHA
    3ce19d9 View commit details
  5. cura: 3.4.1 -> 3.6.0

    orivej committed Dec 27, 2018
    Copy the full SHA
    8112354 View commit details
  6. Merge "cura: 3.4.1 -> 3.6.0"

    orivej committed Dec 27, 2018
    Copy the full SHA
    056627a View commit details
14 changes: 8 additions & 6 deletions pkgs/applications/misc/cura/default.nix
Original file line number Diff line number Diff line change
@@ -2,24 +2,26 @@

mkDerivation rec {
name = "cura-${version}";
version = "3.4.1";
version = "3.6.0";

src = fetchFromGitHub {
owner = "Ultimaker";
repo = "Cura";
rev = version;
sha256 = "03s9nf1aybbnbf1rzqja41m9g6991bbvrcly1lcrfqksianfn06w";
sha256 = "0wzkbqdd1670smw1vnq634rkpcjwnhwcvimhvjq904gy2fylgr90";
};

materials = fetchFromGitHub {
owner = "Ultimaker";
repo = "fdm_materials";
rev = "3.4.1";
sha256 = "1pw30clxqd7qgnidsyx6grizvlgfn8rhj6rd5ppkvv3rdjh0gj28";
rev = version;
sha256 = "0g2dkph0ll7d9109n17vmfwb4fpc8lhyb1z1q68j8vblyvg08d12";
};

buildInputs = [ qtbase qtquickcontrols2 ];
propagatedBuildInputs = with python3.pkgs; [ uranium zeroconf pyserial numpy-stl ];
propagatedBuildInputs = with python3.pkgs; [
libsavitar numpy-stl pyserial requests uranium zeroconf
];
nativeBuildInputs = [ cmake python3.pkgs.wrapPython ];

cmakeFlags = [
@@ -44,7 +46,7 @@ mkDerivation rec {
meta = with lib; {
description = "3D printer / slicing GUI built on top of the Uranium framework";
homepage = https://github.com/Ultimaker/Cura;
license = licenses.agpl3;
license = licenses.lgpl3Plus;
platforms = platforms.linux;
maintainers = with maintainers; [ abbradar ];
};
12 changes: 2 additions & 10 deletions pkgs/applications/misc/curaengine/default.nix
Original file line number Diff line number Diff line change
@@ -2,23 +2,15 @@

stdenv.mkDerivation rec {
name = "curaengine-${version}";
version = "3.4.1";
version = "3.6.0";

src = fetchFromGitHub {
owner = "Ultimaker";
repo = "CuraEngine";
rev = version;
sha256 = "083jmhzmb60rmqw0fhbnlxyblzkmpn3k6zc75xq90x5g3h60wib4";
sha256 = "1iwmblvs3qw57698i8bbazyxha18bj9irnkcscdb0596g8q93fcm";
};

patches = [
# Fixed upstream, but not yet released
(fetchpatch {
url = "https://github.com/Ultimaker/CuraEngine/commit/5aad55bf67e52ce5bdb27a3925af8a4cab441b38.patch";
sha256 = "1hxbslzhkvdg8p33mvlbrpw62gwfqpsdbfca6yhdng9hifl86j3f";
})
];

nativeBuildInputs = [ cmake ];
buildInputs = [ libarcus stb ];

6 changes: 3 additions & 3 deletions pkgs/development/python-modules/libarcus/default.nix
Original file line number Diff line number Diff line change
@@ -3,14 +3,14 @@

buildPythonPackage rec {
pname = "libarcus";
version = "3.4.1";
version = "3.6.0";
format = "other";

src = fetchFromGitHub {
owner = "Ultimaker";
repo = "libArcus";
rev = version;
sha256 = "0mln8myvfl7rq2p4g1vadvlykckd8490jijag4xa5hhj3w3p19bk";
sha256 = "1zbp6axai47k3p2q497wiajls1h17wss143zynbwbwrqinsfiw43";
};

disabled = pythonOlder "3.4.0";
@@ -26,7 +26,7 @@ buildPythonPackage rec {
meta = with stdenv.lib; {
description = "Communication library between internal components for Ultimaker software";
homepage = https://github.com/Ultimaker/libArcus;
license = licenses.agpl3;
license = licenses.lgpl3Plus;
platforms = platforms.linux;
maintainers = with maintainers; [ abbradar ];
};
33 changes: 33 additions & 0 deletions pkgs/development/python-modules/libsavitar/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{ stdenv, buildPythonPackage, pythonOlder, fetchFromGitHub, cmake, sip }:

buildPythonPackage rec {
pname = "libsavitar";
version = "3.6.0";
format = "other";

src = fetchFromGitHub {
owner = "Ultimaker";
repo = "libSavitar";
rev = version;
sha256 = "1bz8ga0n9aw65hqzajbr93dcv5g555iaihbhs1jq2k47cx66klzv";
};

postPatch = ''
# To workaround buggy SIP detection which overrides PYTHONPATH
sed -i '/SET(ENV{PYTHONPATH}/d' cmake/FindSIP.cmake
'';

nativeBuildInputs = [ cmake ];

propagatedBuildInputs = [ sip ];

disabled = pythonOlder "3.4.0";

meta = with stdenv.lib; {
description = "C++ implementation of 3mf loading with SIP python bindings";
homepage = https://github.com/Ultimaker/libSavitar;
license = licenses.lgpl3Plus;
platforms = platforms.linux;
maintainers = with maintainers; [ abbradar orivej ];
};
}
6 changes: 3 additions & 3 deletions pkgs/development/python-modules/uranium/default.nix
Original file line number Diff line number Diff line change
@@ -2,15 +2,15 @@
, pyqt5, numpy, scipy, shapely, libarcus, doxygen, gettext, pythonOlder }:

buildPythonPackage rec {
version = "3.5.1";
version = "3.6.0";
pname = "uranium";
format = "other";

src = fetchFromGitHub {
owner = "Ultimaker";
repo = "Uranium";
rev = version;
sha256 = "1qfci5pl4yhirkkck1rm4i766j8gi56p81mfc6vgbdnhchcjyhy9";
sha256 = "02hid13h8anb9bgv2hhrcdg10bxdxa9hj9pbdv3gw3lpn9r2va98";
};

disabled = pythonOlder "3.5.0";
@@ -30,7 +30,7 @@ buildPythonPackage rec {
meta = with stdenv.lib; {
description = "A Python framework for building Desktop applications";
homepage = https://github.com/Ultimaker/Uranium;
license = licenses.agpl3;
license = licenses.lgpl3Plus;
platforms = platforms.linux;
maintainers = with maintainers; [ abbradar ];
};
6 changes: 4 additions & 2 deletions pkgs/top-level/python-packages.nix
Original file line number Diff line number Diff line change
@@ -2824,6 +2824,8 @@ in {

fs-s3fs = callPackage ../development/python-modules/fs-s3fs { };

libarcus = callPackage ../development/python-modules/libarcus { };

libcloud = callPackage ../development/python-modules/libcloud { };

libgpuarray = callPackage ../development/python-modules/libgpuarray {
@@ -2842,6 +2844,8 @@ in {
inherit (pkgs) libsodium;
};

libsavitar = callPackage ../development/python-modules/libsavitar { };

libplist = disabledIf isPy3k
(toPythonModule (pkgs.libplist.override{python2Packages=self; })).py;

@@ -4493,8 +4497,6 @@ in {
inherit (pkgs) libasyncns pkgconfig;
};

libarcus = callPackage ../development/python-modules/libarcus { };

pybrowserid = callPackage ../development/python-modules/pybrowserid { };

pyzmq = callPackage ../development/python-modules/pyzmq { };