Files
nixpkgs/pkgs/development/python-modules/nuitka/default.nix
T
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

57 lines
983 B
Nix

{
lib,
stdenv,
buildPythonPackage,
fetchFromGitHub,
isPyPy,
ordered-set,
python,
setuptools,
zstandard,
wheel,
}:
buildPythonPackage rec {
pname = "nuitka";
version = "2.7.15";
pyproject = true;
src = fetchFromGitHub {
owner = "Nuitka";
repo = "Nuitka";
rev = version;
hash = "sha256-o+rXk8Qh9SeBpuSppPBap9TL69gy9ag7PCArFSNSv7g=";
};
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 = {
description = "Python compiler with full language support and CPython compatibility";
license = lib.licenses.asl20;
homepage = "https://nuitka.net/";
# never built on darwin since first introduction in nixpkgs
broken = stdenv.hostPlatform.isDarwin;
};
}