pythonModules.Nuitka: 0.6.8.4 -> 0.6.14.5

+ add runtime dep on chrpath
+ use system SConS instead of old Python2 version
This commit is contained in:
Markus S. Wamser 2021-04-27 12:24:57 +02:00
parent da98ae6198
commit 8813edcc64

@ -1,28 +1,29 @@
{ lib, stdenv
, buildPythonPackage
, fetchurl
, fetchFromGitHub
, vmprof
, pyqt4
, isPyPy
, pkgs
, scons
, chrpath
}:
let
# scons is needed but using it requires Python 2.7
# Therefore we create a separate env for it.
scons = pkgs.python27.withPackages(ps: [ pkgs.scons ]);
in buildPythonPackage rec {
version = "0.6.8.4";
buildPythonPackage rec {
version = "0.6.14.5";
pname = "Nuitka";
# Latest version is not yet on PyPi
src = fetchurl {
url = "https://github.com/kayhayen/Nuitka/archive/${version}.tar.gz";
sha256 = "0awhwksnmqmbciimqmd11wygp7bnq57khcg4n9r4ld53s147rmqm";
src = fetchFromGitHub {
owner = "kayhayen";
repo = "Nuitka";
rev = version;
sha256 = "08kcp22zdgp25kk4bp56z196mn6bdi3z4x0q2y9vyz0ywfzp9zap";
};
checkInputs = [ vmprof pyqt4 ];
nativeBuildInputs = [ scons ];
propagatedBuildInputs = [ chrpath ];
postPatch = ''
patchShebangs tests/run-tests