depot/third_party/nixpkgs/pkgs/development/python-modules/uncompyle6/default.nix
Default email ae2dc6aea6 Project import generated by Copybara.
GitOrigin-RevId: 4c2fcb090b1f3e5b47eaa7bd33913b574a11e0a0
2024-10-11 07:15:48 +02:00

48 lines
906 B
Nix

{
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 = "A 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 ];
};
}