python.pkgs.uranium: 2.4.0 -> 2.6.1
This commit is contained in:
parent
a14ebe50c1
commit
85faf94cb9
@ -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"
|
if lib.versionOlder python.version "3.5.0"
|
||||||
then throw "Uranium not supported for interpreter ${python.executable}"
|
then throw "Uranium not supported for interpreter ${python.executable}"
|
||||||
else
|
else
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
version = "2.4.0";
|
version = "2.6.1";
|
||||||
pname = "uranium";
|
pname = "uranium";
|
||||||
name = "${pname}-${version}";
|
name = "${pname}-${version}";
|
||||||
|
|
||||||
@ -13,12 +13,12 @@ stdenv.mkDerivation rec {
|
|||||||
owner = "Ultimaker";
|
owner = "Ultimaker";
|
||||||
repo = "Uranium";
|
repo = "Uranium";
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "1jpl0ryk8xdppillk5wzr2415n50cpa09shn1xqj6y96fg22l2il";
|
sha256 = "1682xwxf6xs1d1cfv1s7xnabqv58jjdb6szz8624b3k9rsj5l2yq";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ python ];
|
buildInputs = [ python gettext ];
|
||||||
propagatedBuildInputs = [ pyqt5 numpy scipy libarcus ];
|
propagatedBuildInputs = [ pyqt5 numpy scipy libarcus ];
|
||||||
nativeBuildInputs = [ cmake ];
|
nativeBuildInputs = [ cmake doxygen ];
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
sed -i 's,/python''${PYTHON_VERSION_MAJOR}/dist-packages,/python''${PYTHON_VERSION_MAJOR}.''${PYTHON_VERSION_MINOR}/site-packages,g' CMakeLists.txt
|
sed -i 's,/python''${PYTHON_VERSION_MAJOR}/dist-packages,/python''${PYTHON_VERSION_MAJOR}.''${PYTHON_VERSION_MINOR}/site-packages,g' CMakeLists.txt
|
||||||
|
Loading…
Reference in New Issue
Block a user