blob: 62e913d5746342a4bfa6936c2201f61d22157d79 (
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
|
{
lib,
buildPythonPackage,
fetchPypi,
setuptools,
spark-parser,
xdis,
pytestCheckHook,
hypothesis,
six,
}:
buildPythonPackage rec {
pname = "uncompyle6";
version = "3.9.2";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-b3CYD/4IpksRS2hxgy/QLYbJkDX4l2qPH4Eh2tb8pCU=";
};
build-system = [ setuptools ];
dependencies = [
spark-parser
xdis
];
pythonRelaxDeps = [ "spark-parser" ];
nativeCheckInputs = [
pytestCheckHook
hypothesis
six
];
# No tests are provided for versions past 3.8,
# as the project only targets bytecode of versions <= 3.8
doCheck = false;
meta = {
description = "Bytecode decompiler for Python versions 3.8 and below";
homepage = "https://github.com/rocky/python-uncompyle6";
license = lib.licenses.gpl3;
maintainers = with lib.maintainers; [ melvyn2 ];
};
}
|