python.pkgs.uranium: 2.4.0 -> 2.6.1

This commit is contained in:
Nikolay Amiantov 2017-07-27 15:50:44 +03:00
parent a14ebe50c1
commit 85faf94cb9

View File

@ -1,11 +1,11 @@
{ stdenv, lib, fetchFromGitHub, python, cmake, pyqt5, numpy, scipy, libarcus }:
{ stdenv, lib, fetchFromGitHub, python, cmake, pyqt5, numpy, scipy, libarcus, doxygen, gettext }:
if lib.versionOlder python.version "3.5.0"
then throw "Uranium not supported for interpreter ${python.executable}"
else
stdenv.mkDerivation rec {
version = "2.4.0";
version = "2.6.1";
pname = "uranium";
name = "${pname}-${version}";
@ -13,12 +13,12 @@ stdenv.mkDerivation rec {
owner = "Ultimaker";
repo = "Uranium";
rev = version;
sha256 = "1jpl0ryk8xdppillk5wzr2415n50cpa09shn1xqj6y96fg22l2il";
sha256 = "1682xwxf6xs1d1cfv1s7xnabqv58jjdb6szz8624b3k9rsj5l2yq";
};
buildInputs = [ python ];
buildInputs = [ python gettext ];
propagatedBuildInputs = [ pyqt5 numpy scipy libarcus ];
nativeBuildInputs = [ cmake ];
nativeBuildInputs = [ cmake doxygen ];
postPatch = ''
sed -i 's,/python''${PYTHON_VERSION_MAJOR}/dist-packages,/python''${PYTHON_VERSION_MAJOR}.''${PYTHON_VERSION_MINOR}/site-packages,g' CMakeLists.txt