blob: acde02d89404d9b9de474d5093bf44854e986462 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
|
{
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;
};
}
|