1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-26 07:31:20 +00:00

Merge pull request #33799 from adisbladis/cura-qt59

cura: 3.0.3 -> 3.1.0
This commit is contained in:
Jörg Thalheim 2018-01-13 18:19:22 +00:00 committed by GitHub
commit e35639b931
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 16 additions and 15 deletions

View file

@ -2,13 +2,13 @@
mkDerivation rec {
name = "cura-${version}";
version = "3.0.3";
version = "3.1.0";
src = fetchFromGitHub {
owner = "Ultimaker";
repo = "Cura";
rev = version;
sha256 = "0ks8bb3mif6kyvb01ddhpn1c2l31s8fxivi70kmpm743sqv4kjaa";
sha256 = "1x732bzxdxnz1av8jlv5kzs08jpmsg6bz9i88jr63kw32d901xsm";
};
buildInputs = [ qtbase qtquickcontrols ];

View file

@ -14,6 +14,14 @@ buildPythonPackage rec {
checkInputs = [ pytest pytestrunner pytestcov pytestflakes pytestpep8 sphinx ];
postPatch = ''
# pytest-runner is only actually required in checkPhase
substituteInPlace setup.py --replace "setup_requires=['pytest-runner']," ""
'';
# Tests failing
doCheck = false;
checkPhase = ''
rm nix_run_setup.py
py.test

View file

@ -5,7 +5,7 @@ then throw "Uranium not supported for interpreter ${python.executable}"
else
stdenv.mkDerivation rec {
version = "3.0.3";
version = "3.1.0";
pname = "uranium";
name = "${pname}-${version}";
@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
owner = "Ultimaker";
repo = "Uranium";
rev = version;
sha256 = "1pyzpcdb6kb0basvhgpjdiws8x0bwl71k7nkf3j3s9wk1dvyw824";
sha256 = "1wz2nk973g8227r9v6j7gry3m0b0ikirkws8sfhysvgj0vgak9yk";
};
buildInputs = [ python gettext ];

View file

@ -16978,7 +16978,7 @@ with pkgs;
curaengine = callPackage ../applications/misc/curaengine {
inherit (python3.pkgs) libarcus;
};
cura = qt56.callPackage ../applications/misc/cura { };
cura = qt5.callPackage ../applications/misc/cura { };
curaLulzbot = callPackage ../applications/misc/cura/lulzbot.nix { };

View file

@ -320,10 +320,6 @@ in {
pythonPackages = self;
};
pyqt56 = pkgs.libsForQt56.callPackage ../development/python-modules/pyqt/5.x.nix {
pythonPackages = self;
};
pyqt5 = pkgs.libsForQt5.callPackage ../development/python-modules/pyqt/5.x.nix {
pythonPackages = self;
};
@ -22543,10 +22539,7 @@ EOF
twilio = callPackage ../development/python-modules/twilio { };
uranium = callPackage ../development/python-modules/uranium {
# https://github.com/Ultimaker/Cura/issues/2596
pyqt5 = self.pyqt56;
};
uranium = callPackage ../development/python-modules/uranium { };
vine = callPackage ../development/python-modules/vine { };