Merge pull request #120843 from wamserma/nuitka-6-14

pythonModules.Nuitka: 0.6.8.4 -> 0.6.14.5
This commit is contained in:
Sandro 2021-04-29 04:53:10 +02:00 committed by GitHub
commit f9a4ee8083
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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