cura: 2.6.1 -> 3.0.3

This commit is contained in:
Nikolay Amiantov 2017-10-21 04:15:00 +03:00
parent a5091226bd
commit 6d86fcb86d

View File

@ -1,18 +1,18 @@
{ mkDerivation, lib, fetchFromGitHub, cmake, python3, qtbase, curaengine }: { mkDerivation, lib, fetchFromGitHub, cmake, python3, qtbase, qtquickcontrols, curaengine }:
mkDerivation rec { mkDerivation rec {
name = "cura-${version}"; name = "cura-${version}";
version = "2.6.1"; version = "3.0.3";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "Ultimaker"; owner = "Ultimaker";
repo = "Cura"; repo = "Cura";
rev = version; rev = version;
sha256 = "03rsw6nafg3y9if2dlnzsj6c9x3x7cv6gs4a1w84jaq4p1f8fcsd"; sha256 = "0ks8bb3mif6kyvb01ddhpn1c2l31s8fxivi70kmpm743sqv4kjaa";
}; };
buildInputs = [ qtbase ]; buildInputs = [ qtbase qtquickcontrols ];
propagatedBuildInputs = with python3.pkgs; [ uranium zeroconf pyserial ]; propagatedBuildInputs = with python3.pkgs; [ uranium zeroconf pyserial numpy-stl ];
nativeBuildInputs = [ cmake python3.pkgs.wrapPython ]; nativeBuildInputs = [ cmake python3.pkgs.wrapPython ];
cmakeFlags = [ "-DURANIUM_DIR=${python3.pkgs.uranium.src}" ]; cmakeFlags = [ "-DURANIUM_DIR=${python3.pkgs.uranium.src}" ];
@ -28,7 +28,7 @@ mkDerivation rec {
meta = with lib; { meta = with lib; {
description = "3D printer / slicing GUI built on top of the Uranium framework"; description = "3D printer / slicing GUI built on top of the Uranium framework";
homepage = https://github.com/Ultimaker/Cura; homepage = "https://github.com/Ultimaker/Cura";
license = licenses.agpl3; license = licenses.agpl3;
platforms = platforms.linux; platforms = platforms.linux;
maintainers = with maintainers; [ abbradar ]; maintainers = with maintainers; [ abbradar ];