1 { lib, buildPythonPackage, fetchFromGitHub, python, cmake
2 , pyqt5, numpy, scipy, shapely, libarcus, cryptography, doxygen, gettext, pythonOlder }:
4 buildPythonPackage rec {
9 src = fetchFromGitHub {
13 hash = "sha256-SE9xqrloPXIRTJiiqUdRKFmb4c0OjmJK5CMn6VXMFmk=";
16 disabled = pythonOlder "3.5.0";
18 buildInputs = [ python gettext ];
19 propagatedBuildInputs = [ pyqt5 numpy scipy shapely libarcus cryptography ];
20 nativeBuildInputs = [ cmake doxygen ];
23 sed -i 's,/python''${PYTHON_VERSION_MAJOR}/dist-packages,/python''${PYTHON_VERSION_MAJOR}.''${PYTHON_VERSION_MINOR}/site-packages,g' CMakeLists.txt
25 -e "s,Resources.addSearchPath(os.path.join(os.path.abspath(os.path.dirname(__file__)).*,Resources.addSearchPath(\"$out/share/uranium/resources\")," \
26 -e "s,self._plugin_registry.addPluginLocation(os.path.join(os.path.abspath(os.path.dirname(__file__)).*,self._plugin_registry.addPluginLocation(\"$out/lib/uranium/plugins\")," \
31 description = "A Python framework for building Desktop applications";
32 homepage = "https://github.com/Ultimaker/Uranium";
33 license = licenses.lgpl3Plus;
34 platforms = platforms.linux;
35 maintainers = with maintainers; [ abbradar gebner ];