at master 1.2 kB view raw
1{ 2 asttokens, 3 buildPythonPackage, 4 cython, 5 executing, 6 fetchFromGitHub, 7 lib, 8 littleutils, 9 pure-eval, 10 pygments, 11 pytestCheckHook, 12 setuptools-scm, 13 typeguard, 14 setuptools, 15 wheel, 16}: 17 18buildPythonPackage rec { 19 pname = "stack-data"; 20 version = "0.6.3"; 21 pyproject = true; 22 23 src = fetchFromGitHub { 24 owner = "alexmojaki"; 25 repo = "stack_data"; 26 tag = "v${version}"; 27 hash = "sha256-dmBhfCg60KX3gWp3k1CGRxW14z3BLlair0PjLW9HFYo="; 28 }; 29 30 build-system = [ 31 setuptools 32 setuptools-scm 33 wheel 34 ]; 35 36 nativeCheckInputs = [ 37 cython 38 littleutils 39 pygments 40 pytestCheckHook 41 typeguard 42 ]; 43 44 dependencies = [ 45 asttokens 46 executing 47 pure-eval 48 ]; 49 50 disabledTests = [ 51 # AssertionError 52 "test_example" 53 "test_executing_style_defs" 54 "test_pygments_example" 55 "test_variables" 56 ]; 57 58 pythonImportsCheck = [ "stack_data" ]; 59 60 meta = with lib; { 61 description = "Extract data from stack frames and tracebacks"; 62 homepage = "https://github.com/alexmojaki/stack_data/"; 63 changelog = "https://github.com/alexmojaki/stack_data/releases/tag/v${version}"; 64 license = licenses.mit; 65 maintainers = with maintainers; [ jluttine ]; 66 mainProgram = "stack-data"; 67 }; 68}