blob: 291da467e9ed36bd142604f43c1e4d6dc450c837 (
plain) (
blame)
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
|
{ lib
, buildPythonPackage
, click
, fetchFromGitHub
, fetchpatch
, pytestCheckHook
, pythonOlder
, six
}:
buildPythonPackage rec {
pname = "xdis";
version = "unstable-2022-04-13";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "rocky";
repo = "python-xdis";
# Support for later Python releases is missing in 6.0.3
rev = "f888df7df5cb8839927e9187c258769cc77fb7a3";
hash = "sha256-V1ws5GibRkutFRNcjlP7aW+AshSyWavXIxuwznVbRlU=";
};
propagatedBuildInputs = [
click
six
];
checkInputs = [
pytestCheckHook
];
pythonImportsCheck = [
"xdis"
];
disabledTestPaths = [
# Our Python release is not in the test matrix
"test_unit/test_disasm.py"
];
disabledTests = [
"test_big_linenos"
"test_basic"
];
meta = with lib; {
description = "Python cross-version byte-code disassembler and marshal routines";
homepage = "https://github.com/rocky/python-xdis/";
license = licenses.gpl2Plus;
maintainers = with maintainers; [ ];
};
}
|