mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-02 07:31:26 +00:00
Merge pull request #33799 from adisbladis/cura-qt59
cura: 3.0.3 -> 3.1.0
This commit is contained in:
commit
e35639b931
@ -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 ];
|
||||
|
@ -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
|
||||
|
@ -5,17 +5,17 @@ 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}";
|
||||
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Ultimaker";
|
||||
repo = "Uranium";
|
||||
rev = version;
|
||||
sha256 = "1pyzpcdb6kb0basvhgpjdiws8x0bwl71k7nkf3j3s9wk1dvyw824";
|
||||
sha256 = "1wz2nk973g8227r9v6j7gry3m0b0ikirkws8sfhysvgj0vgak9yk";
|
||||
};
|
||||
|
||||
|
||||
buildInputs = [ python gettext ];
|
||||
propagatedBuildInputs = [ pyqt5 numpy scipy libarcus ];
|
||||
nativeBuildInputs = [ cmake doxygen ];
|
||||
|
@ -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 { };
|
||||
|
||||
|
@ -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 { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user