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 changed files with 11 additions and 10 deletions

View File

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