diff options
Diffstat (limited to 'pkgs/development/python-modules/uranium/default.nix')
-rw-r--r-- | pkgs/development/python-modules/uranium/default.nix | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/pkgs/development/python-modules/uranium/default.nix b/pkgs/development/python-modules/uranium/default.nix index 0917c5ab6eef8..7be8f01f23c86 100644 --- a/pkgs/development/python-modules/uranium/default.nix +++ b/pkgs/development/python-modules/uranium/default.nix @@ -1,13 +1,10 @@ -{ stdenv, lib, fetchFromGitHub, python, cmake, pyqt5, numpy, scipy, libarcus, doxygen, gettext }: +{ stdenv, lib, buildPythonPackage, fetchFromGitHub, python, cmake +, pyqt5, numpy, scipy, libarcus, doxygen, gettext, pythonOlder }: -if lib.versionOlder python.version "3.5.0" -then throw "Uranium not supported for interpreter ${python.executable}" -else - -stdenv.mkDerivation rec { +buildPythonPackage rec { version = "3.3.0"; pname = "uranium"; - name = "${pname}-${version}"; + format = "other"; src = fetchFromGitHub { owner = "Ultimaker"; @@ -16,6 +13,8 @@ stdenv.mkDerivation rec { sha256 = "1rg0l2blndnbdfcgkjc2r29cnjdm009rz8lnc225ilh9d7w1srbb"; }; + disabled = pythonOlder "3.5.0"; + buildInputs = [ python gettext ]; propagatedBuildInputs = [ pyqt5 numpy scipy libarcus ]; nativeBuildInputs = [ cmake doxygen ]; |