evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / development / python-modules / uncompyle6 / default.nix
blobe5d9b4bef6196c2ba34d09e0d6b3c66dbf9fc536
2   lib,
3   buildPythonPackage,
4   fetchPypi,
5   setuptools,
6   spark-parser,
7   xdis,
8   pytestCheckHook,
9   hypothesis,
10   six,
13 buildPythonPackage rec {
14   pname = "uncompyle6";
15   version = "3.9.2";
16   pyproject = true;
18   src = fetchPypi {
19     inherit pname version;
20     hash = "sha256-b3CYD/4IpksRS2hxgy/QLYbJkDX4l2qPH4Eh2tb8pCU=";
21   };
23   build-system = [ setuptools ];
25   dependencies = [
26     spark-parser
27     xdis
28   ];
30   pythonRelaxDeps = [ "spark-parser" ];
32   nativeCheckInputs = [
33     pytestCheckHook
34     hypothesis
35     six
36   ];
38   # No tests are provided for versions past 3.8,
39   # as the project only targets bytecode of versions <= 3.8
40   doCheck = false;
42   meta = {
43     description = "A bytecode decompiler for Python versions 3.8 and below";
44     homepage = "https://github.com/rocky/python-uncompyle6";
45     license = lib.licenses.gpl3;
46     maintainers = with lib.maintainers; [ melvyn2 ];
47   };