Files
nixpkgs/pkgs/development/python-modules/nuitka/default.nix
Stefan Mayrhofer f3fed00562 nuitka: 2.2.3 -> 2.6.9
Update nuitka to version 2.6.9
2025-04-15 15:37:43 +02:00

54 lines
871 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
isPyPy,
ordered-set,
python,
setuptools,
zstandard,
wheel,
}:
buildPythonPackage rec {
pname = "nuitka";
version = "2.6.9";
pyproject = true;
src = fetchFromGitHub {
owner = "Nuitka";
repo = "Nuitka";
rev = version;
hash = "sha256-QKJAMDVXO78VQ0P+nuuQ4dxCKEJLtcqCinJYs018rTA=";
};
build-system = [
setuptools
wheel
];
dependencies = [
ordered-set
zstandard
];
checkPhase = ''
runHook preCheck
${python.interpreter} tests/basics/run_all.py search
runHook postCheck
'';
pythonImportsCheck = [ "nuitka" ];
# Requires CPython
disabled = isPyPy;
meta = with lib; {
description = "Python compiler with full language support and CPython compatibility";
license = licenses.asl20;
homepage = "https://nuitka.net/";
};
}